VistaDB 5






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

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