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.
ConfigQuery Class | ConfigQuery Members | System.Configuration Namespace