ComponentOne Xamarin.Android
IndexOf(String) Method


C1.Android.Grid Assembly > C1.Android.Grid Namespace > GridColumnCollection Class > IndexOf Method : IndexOf(String) Method
Header or Binding 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 String _
) As Integer
'Usage
 
Dim instance As GridColumnCollection
Dim colName As String
Dim value As Integer
 
value = instance.IndexOf(colName)
public int IndexOf( 
   string colName
)

Parameters

colName
Header or Binding 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

GridColumnCollection Class
GridColumnCollection Members
Overload List