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!

IConfigItem.Item (String)

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.

Arguments [JScript]

PropertyName
Name of the property as defined in the schema for the ConfigType.

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

PropertyName
Name of the property as defined in the schema for the ConfigType.

See Also

IConfigItem Interface | IConfigItem Members | System.Configuration Namespace | IConfigItem.Item Overload List