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!

ConfigQuery.Item

Returns a QueryCell from the ConfigQuery.

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

[Visual Basic]
Public Default Property Item( _
   ByVal Index As Integer _
) As QueryCell
[C#]
public QueryCell this[
   int Index
] {get; set;}
[C++]
public: __property QueryCell* get_Item(
   int Index
);
public: __property void set_Item(
   int Index,
   QueryCell*
);
[JScript]
returnValue = ConfigQueryObject.Item(Index);
ConfigQueryObject.Item(Index) = returnValue;
-or-
returnValue = ConfigQueryObject(Index);
ConfigQueryObject(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 index of the QueryCell to be retrieved (not the property index!).

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

Index
The index of the QueryCell to be retrieved (not the property index!).

See Also

ConfigQuery Class | ConfigQuery Members | System.Configuration Namespace