VistaDB 5






The zero-based column ordinal.
GetDecimal Method (VistaDBDataReader)
Gets the value of the specified column as a Decimal object.
Syntax
'Declaration
 
Public Overrides NotOverridable Function GetDecimal( _
   ByVal ordinal As System.Integer _
) As System.Decimal
'Usage
 
Dim instance As VistaDBDataReader
Dim ordinal As System.Integer
Dim value As System.Decimal
 
value = instance.GetDecimal(ordinal)
public override System.decimal GetDecimal( 
   System.int ordinal
)
public function GetDecimal( 
    ordinal: System.Integer
): System.Currency; override; 
public override function GetDecimal( 
   ordinal : System.int
) : System.decimal;
public: System.decimal GetDecimal( 
   System.int ordinal
) override 
public:
System.decimal GetDecimal( 
   System.int ordinal
) override 

Parameters

ordinal
The zero-based column ordinal.

Return Value

The value 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