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

Namespace:  C1.Silverlight.FlexGrid
Assembly:  C1.Silverlight.FlexGrid.4 (in C1.Silverlight.FlexGrid.4.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