Item Property
Collapse the table of content
Expand the table of content

ITableMappingCollection.Item Property

Gets or sets the instance of ITableMapping with the specified SourceTable name.

[C#] In C#, this property is the indexer for the ITableMappingCollection class.

[Visual Basic]
Default Property Item( _
   ByVal index As String _
) As Object
[C#]
object this[
   string index
] {get; set;}
[C++]
__property Object* get_Item(
 String* index
);
__property void set_Item(
 String* index,
   Object*
);
[JScript]
returnValue = ITableMappingCollectionObject.Item(index);
ITableMappingCollectionObject.Item(index) = returnValue;
-or-
returnValue = ITableMappingCollectionObject(index);
ITableMappingCollectionObject(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 property whose type is Object and whose index type is String.

Arguments [JScript]

index
The SourceTable name of the ITableMapping.

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

index
The SourceTable name of the ITableMapping.

Property Value

The instance of ITableMapping with the specified SourceTable name.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

ITableMappingCollection Interface | ITableMappingCollection Members | System.Data Namespace

Show:
© 2016 Microsoft