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!

GridTablesCollection.Item (String)

Retrieves the DataGridTable with the name provided.

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

[Visual Basic]
Overloads Public Default ReadOnly Property Item( _
   ByVal tableName As String _
) As DataGridTable
[C#]
public DataGridTable this[
   string tableName
] {get;}
[C++]
public: __property DataGridTable* get_Item(
   String* tableName
);
[JScript]
returnValue = GridTablesCollectionObject.Item(tableName);
-or-
returnValue = GridTablesCollectionObject(tableName);

[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]

tableName
The TableName of the DataGridTable to retrieve.

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

tableName
The TableName of the DataGridTable to retrieve.

Property Value

The DataGridTable with the name provided.

Remarks

The comparison between TableNames and the value to look for is case-insensitive.

See Also

GridTablesCollection Class | GridTablesCollection Members | System.WinForms Namespace | GridTablesCollection.Item Overload List