Gets the index of the column with a given name in the collection.

Namespace:  C1.Phone.FlexGrid
Assembly:  C1.Phone.FlexGrid (in C1.Phone.FlexGrid.dll)

Syntax

C#
public int IndexOf(
	string colName
)
Visual Basic
Public Function IndexOf ( _
	colName As String _
) As Integer

Parameters

colName
Type: System..::..String
ColumnName to look for.

Return Value

The index of the column, or -1 if the collection does not contain any columns with the given name.

See Also