DataConnector | ComponentOne
C1.AdoNet.ServiceNow Assembly / C1.DataConnector.AdoNet Namespace / C1DataReader Class / GetOrdinal Method
The name of the column.

In This Topic
    GetOrdinal Method (C1DataReader)
    In This Topic
    Gets the column ordinal given the name of the column.
    Syntax
    'Declaration
     
    Public Overrides Function GetOrdinal( _
       ByVal name As String _
    ) As Integer
    public override int GetOrdinal( 
       string name
    )

    Parameters

    name
    The name of the column.

    Return Value

    The zero-based column ordinal.
    See Also