ComponentOne DataObjects for .NET
IndexOf Method (C1DataTableCollection)

C1.Data.2 Assembly > C1.Data Namespace > C1DataTableCollection Class : IndexOf Method
The C1DataTable.Name of the element.
Gets the index of the data table with a given name (the name is not case-sensitive).
Syntax
'Declaration
 
Public Function IndexOf( _
   ByVal name As System.String _
) As System.Integer
public System.int IndexOf( 
   System.string name
)

Parameters

name
The C1DataTable.Name of the element.

Return Value

The zero-based index of an element, if found; otherwise, -1.
See Also

Reference

C1DataTableCollection Class
C1DataTableCollection Members