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!

InstallerCollection.Item

Gets or sets an installer at the specified index.

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

[Visual Basic]
Overridable Public Default Property Item( _
   ByVal index As Integer _
) As Installer
[C#]
public Installer this[
   int index
] {virtual get; virtual set;}
[C++]
public: __property virtual Installer* get_Item(
   int index
);
public: __property virtual void set_Item(
   int index,
   Installer*
);
[JScript]
returnValue = InstallerCollectionObject.Item(index);
InstallerCollectionObject.Item(index) = returnValue;
-or-
returnValue = InstallerCollectionObject(index);
InstallerCollectionObject(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
The zero-based index of the item to retrieve.

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

index
The zero-based index of the item to retrieve.

Property Value

An Installer that represents the installer specified by index.

Remarks

When the specified Installer is set into the InstallerCollection, its Parent property is set to specify the Installer that contains the collection.

See Also

InstallerCollection Class | InstallerCollection Members | System.Configuration.Install Namespace | Installer