MySQL Connector/Net
MySqlDataReaderGetInt32 Method (Int32) |
Gets the value of the specified column as a 32-bit signed integer.
Namespace: MySql.Data.MySqlClient
Assembly: MySql.Data (in MySql.Data.dll) Version: 6.9.9

public override int GetInt32( int i )
Public Overrides Function GetInt32 ( i As Integer ) As Integer
public: virtual int GetInt32( int i ) override
abstract GetInt32 : i : int -> int override GetInt32 : i : int -> int
Parameters
- i
- Type: SystemInt32
The zero-based column ordinal.
Return Value
Type: Int32The value of the specified column.
Implements
IDataRecordGetInt32(Int32)IDataRecordGetInt32(Int32)

No conversions are performed; therefore, the data retrieved must already be a 32 bit integer value.
Call IsDBNull to check for null values before calling this method.
