Retrieves the value of a property given the name of the property.
[C#] In C#, this member is the indexer for the IConfigItem class.
[Visual Basic] Overloads Default Property Item( _ ByVal PropertyName As String _ ) As Object [C#] object this[ string PropertyName ] {get; set;} [C++] Object* get_Item( String* PropertyName ) = 0;void set_Item( String* PropertyName, Object* ) = 0; [JScript] abstract returnValue = IConfigItemObject.Item(PropertyName); IConfigItemObject.Item(PropertyName) = returnValue; -or- abstract returnValue = IConfigItemObject(PropertyName); IConfigItemObject(PropertyName) = 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