True DBGrid for WinForms | ComponentOne
C1.Win.C1TrueDBGrid.4.8 Assembly / C1.Win.C1TrueDBGrid Namespace / C1DataColumnCollection Class / IndexOf Method / IndexOf(String) Method

In This Topic
    IndexOf(String) Method
    In This Topic
    Gets the index of a C1DataColumn with the specified DataField.
    Syntax
    'Declaration
     
    Public Overloads Function IndexOf( _
       ByVal dataField As System.String _
    ) As System.Integer
    public System.int IndexOf( 
       System.string dataField
    )

    Parameters

    dataField

    Return Value

    The index of the the C1DataColumn.
    See Also