CqlReaderGetDecimal Method |
Gets the value of the specified column as a Decimal object.
Namespace: Dse.DataAssembly: Dse (in Dse.dll) Version: 2.2.0
Syntax public override decimal GetDecimal(
int ordinal
)
Parameters
- ordinal
- Type: SystemInt32
The zero-based column ordinal.
Return Value
Type:
DecimalThe value of the specified column.
Implements
IDataRecordGetDecimal(Int32)Exceptions Exception | Condition |
---|
InvalidCastException | The specified cast is not valid. |
IndexOutOfRangeException | The index passed was outside the range of 0 through FieldCount. |
See Also