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!

ImageList.ImageCollection.Item

[To be supplied.]

[C#] In C#, this member is the indexer for the ImageList.ImageCollection class.

[Visual Basic]
Public Default Property Item( _
   ByVal index As Integer _
) As Image
[C#]
public Image this[
   int index
] {get; set;}
[C++]
public: __property Image* get_Item(
   int index
);
public: __property void set_Item(
   int index,
   Image*
);
[JScript]
returnValue = ImageList.ImageCollectionObject.Item(index);
ImageList.ImageCollectionObject.Item(index) = returnValue;
-or-
returnValue = ImageList.ImageCollectionObject(index);
ImageList.ImageCollectionObject(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.]

See Also

ImageList.ImageCollection Class | ImageList.ImageCollection Members | System.WinForms Namespace