This documentation is archived and is not being maintained.

ITableMappingCollection.IndexOf Method

Gets the location of the ITableMapping object within the collection.

[Visual Basic]
Function IndexOf( _
   ByVal sourceTableName As String _
) As Integer
[C#]
int IndexOf(
   string sourceTableName
);
[C++]
int IndexOf(
   String* sourceTableName
);
[JScript]
function IndexOf(
   sourceTableName : String
) : int;

Parameters

sourceTableName
The case-sensitive name of the source table.

Return Value

The zero-based location of the ITableMapping object within the collection.

Requirements

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

See Also

ITableMappingCollection Interface | ITableMappingCollection Members | System.Data Namespace

Show: