Retrieves the value of a property given the index of the property. The index of the property is simply its order in the schema definition of the Config Type.
[C#] In C#, this member is the indexer for the IConfigItem class.
[Visual Basic] Overloads Default Property Item( _ ByVal PropertyIndex As Integer _ ) As Object [C#] object this[ int PropertyIndex ] {get; set;} [C++] Object* get_Item( int PropertyIndex ) = 0;void set_Item( int PropertyIndex, Object* ) = 0; [JScript] abstract returnValue = IConfigItemObject.Item(PropertyIndex); IConfigItemObject.Item(PropertyIndex) = returnValue; -or- abstract returnValue = IConfigItemObject(PropertyIndex); IConfigItemObject(PropertyIndex) = 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.
IConfigItem Interface | IConfigItem Members | System.Configuration Namespace | IConfigItem.Item Overload List