ComponentOne FlexGrid for UWP
IndexOf(String) Method

C1.UWP.FlexGrid Assembly > C1.Xaml.FlexGrid Namespace > ColumnCollection Class > IndexOf Method : IndexOf(String) Method
Column.ColumnName to look for.
Gets the index of the column with a given name in the collection.
Syntax
'Declaration
 
Public Overloads Function IndexOf( _
   ByVal colName As System.String _
) As System.Integer
public System.int IndexOf( 
   System.string colName
)

Parameters

colName
Column.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

Reference

ColumnCollection Class
ColumnCollection Members
Overload List