Returns the index of the specified C1Field within the collection.

Namespace:  C1.Web.UI.Controls.C1GridView
Assembly:  C1.Web.UI.Controls.2 (in C1.Web.UI.Controls.2.dll)

Syntax

C#
public int IndexOf(
	C1Field col
)
Visual Basic
Public Function IndexOf ( _
	col As C1Field _
) As Integer

Parameters

col
Type: C1.Web.UI.Controls.C1GridView..::..C1Field
The C1Field to locate in the collection.

Return Value

The zero-based index of the C1Field within the collection, or -1 if the C1Field is not in the collection.

See Also