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

GetOrdinal Method
Gets the column ordinal, given the name of the column.
Syntax
'Declaration
 
Public Overrides Function GetOrdinal( _
   ByVal name As String _
) As Integer
 

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