Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns the value of the column at the specified index as a Double.
Namespace: System.Data.SqlServerCe
Assembly: System.Data.SqlServerCe (in System.Data.SqlServerCe.dll)
Syntax
'Declaration
Public Overrides Function GetDecimal ( _
ordinal As Integer _
) As Decimal
'Usage
Dim instance As SqlCeResultSet
Dim ordinal As Integer
Dim returnValue As Decimal
returnValue = instance.GetDecimal(ordinal)
public override decimal GetDecimal(
int ordinal
)
public:
virtual Decimal GetDecimal(
int ordinal
) override
abstract GetDecimal :
ordinal:int -> decimal
override GetDecimal :
ordinal:int -> decimal
public override function GetDecimal(
ordinal : int
) : decimal
Parameters
- ordinal
Type: System.Int32
The ordinal position of the column from which to retrieve data.
Return Value
Type: System.Decimal
The value of the column at the specified index.
Implements
Remarks
An exception is thrown if no field exists at the specified ordinal position.