ComponentOne DataObjects for .NET
IndexOf(TableViewField) Method

C1.Data.2 Assembly > C1.Data.SchemaObjects Namespace > TableViewFieldCollection Class > IndexOf Method : IndexOf(TableViewField) Method
The field object to locate in the collection.
Returns the zero-based index of a field in the collection.
Syntax
'Declaration
 
Public Overloads Function IndexOf( _
   ByVal tableViewField As TableViewField _
) As System.Integer
public System.int IndexOf( 
   TableViewField tableViewField
)

Parameters

tableViewField
The field object to locate in the collection.

Return Value

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

Reference

TableViewFieldCollection Class
TableViewFieldCollection Members
Overload List