VistaDB 5

The name of the column.
GetOrdinal Method (VistaDBDataReader)
Gets the column ordinal given the name of the column.
Public Overrides NotOverridable Function GetOrdinal( _
   ByVal name As System.String _
) As System.Integer
Dim instance As VistaDBDataReader
Dim name As System.String
Dim value As System.Integer
value = instance.GetOrdinal(name)
public override GetOrdinal( 
   System.string name
public function GetOrdinal( 
    name: System.String
): System.Integer; override; 
public override function GetOrdinal( 
   name : System.String
) :;
public: GetOrdinal( 
   System.string* name
) override 
public: GetOrdinal( 
   System.String^ name
) override 


The name of the column.

Return Value

The zero-based column ordinal.

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