When implemented by a class, gets or sets the element at the specified index.
[C#] In C#, this member is the indexer for the IList class.
[Visual Basic] Default Property Item( _ ByVal index As Integer _ ) As Object [C#] object this[ int index ] {get; set;} [C++] Object* get_Item( int index ) = 0;void set_Item( int index, Object* ) = 0; [JScript] abstract returnValue = IListObject.Item(index); IListObject.Item(index) = returnValue; -or- abstract returnValue = IListObject(index); IListObject(index) = returnValue;
[JScript] In JScript, you can use the default indexed properties defined by a type, but you cannot explicitly define your own. However, specifying the expando attribute on a class automatically provides a default indexed Item property whose type is Object and whose index type is String.
The element at the specified index.
IList Interface | IList Members | System.Collections Namespace