ComponentOne FlexGrid for WinForms
IndexOf(String) Method

C1.Win.C1FlexGrid Namespace > ColumnCollection Class > IndexOf Method : IndexOf(String) Method
Column name to look for (case-insensitive).
Gets the index of the Column with the specified name.
Syntax
'Declaration
 
Public Overloads Function IndexOf( _
   ByVal columnName As String _
) As Integer
public int IndexOf( 
   string columnName
)

Parameters

columnName
Column name to look for (case-insensitive).

Return Value

Index of the column that has the given name in this collection, or -1 if the collection does not contain a column with the given name.
See Also

Reference

ColumnCollection Class
ColumnCollection Members
Overload List