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.
A TableSetting.
Exception Type | Condition |
---|---|
IndexOutOfRange(System.String) | The collection doesn't have a TableSetting at this index. |
TableSettingsCollection Class | TableSettingsCollection Members | System.Data Namespace | TableSettingsCollection.Item Overload List