Gets the value of the specified column as a 32-bit signed integer.
[Visual Basic]
Public Function GetInt32( _
ByVal i As Integer _
) As Integer
[C#]
public int GetInt32(
int i
);
[C++]
public: int GetInt32(
int i
);
[JScript]
public function GetInt32(
i : int
) : int;
The value of the specified column as a 32-bit signed integer.
| Exception type | Condition |
|---|---|
| InvalidCastException | The specified cast is not valid. |
| DB2Exception | Invalid conversion. |
No conversions are performed. The data to be retrieved must be of DB2Type.Integer.
| DB2®Type Data Type | DB2 Data Type | Informix® Data Type |
|---|---|---|
| Integer | INT | INT, INTEGER, SERIAL |
Call IsDBNull to check for null values before calling this method.