NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

IList.Item

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.

Arguments [JScript]

index
[To be supplied.]

Parameters [Visual Basic, C#, C++]

index
[To be supplied.]

Property Value

The element at the specified index.

See Also

IList Interface | IList Members | System.Collections Namespace