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!

TableSettingsCollection.Item (String)

Gets the TableSetting in the collection with the specified name (not case-sensitive).

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

[Visual Basic]
Overloads Overridable Public Default ReadOnly Property Item( _
   ByVal tableName As String _
) As TableSetting
[C#]
public TableSetting this[
   string tableName
] {virtual get;}
[C++]
public: __property virtual TableSetting* get_Item(
   String* tableName
);
[JScript]
returnValue = TableSettingsCollectionObject.Item(tableName);
-or-
returnValue = TableSettingsCollectionObject(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 name of the TableSetting to return.

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

tableName
The name of the TableSetting to return.

Property Value

A TableSetting.

Exceptions

Exception Type Condition
IndexOutOfRange(System.String) The collection doesn't have a TableSetting at this index.

See Also

TableSettingsCollection Class | TableSettingsCollection Members | System.Data Namespace | TableSettingsCollection.Item Overload List