Gets the value of the specified column as a 32-bit signed integer.
Namespace: Cassandra.DataAssembly: Cassandra (in Cassandra.dll) Version: 3.0.9 (git 5ca22bb)
Syntax public override int GetInt32(
int ordinal
)
Parameters
- ordinal
- Type: SystemInt32
The zero-based column ordinal.
Return Value
Type:
Int32The value of the specified column.
Implements
IDataRecordGetInt32(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