VistaDB 5






The zero-based column ordinal.
GetFieldType Method (VistaDBDataReader)
Gets the data type of the specified column.
Syntax
'Declaration
 
Public Overrides NotOverridable Function GetFieldType( _
   ByVal ordinal As System.Integer _
) As System.Type
'Usage
 
Dim instance As VistaDBDataReader
Dim ordinal As System.Integer
Dim value As System.Type
 
value = instance.GetFieldType(ordinal)
public override System.Type GetFieldType( 
   System.int ordinal
)
public function GetFieldType( 
    ordinal: System.Integer
): System.Type; override; 
public override function GetFieldType( 
   ordinal : System.int
) : System.Type;
public: System.Type* GetFieldType( 
   System.int ordinal
) override 
public:
System.Type^ GetFieldType( 
   System.int ordinal
) override 

Parameters

ordinal
The zero-based column ordinal.

Return Value

The data type of the specified column.
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