dotConnect for Salesforce Documentation
Devart.Common Namespace / DbDataReaderBase Class / GetOrdinal Method
The name of the column.

In This Topic
    GetOrdinal Method
    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.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also