MySQL Connector/Net |
MySqlDataReader..::.GetInt16 Method (String) |
MySqlDataReader Class See Also Send Feedback |
Gets the value of the specified column as a 16-bit signed integer.
Namespace:
MySql.Data.MySqlClient
Assembly:
MySql.Data (in MySql.Data.dll) Version: 6.2.2.0
Syntax
C# |
---|
public short GetInt16( string column ) |
Visual Basic (Declaration) |
---|
Public Function GetInt16 ( _ column As String _ ) As Short |
Visual C++ |
---|
public: short GetInt16( String^ column ) |
Parameters
- column
- Type: System..::.String
The column name
Return Value
The value of the specified column.Remarks
No conversions are performed; threfore, the data retrieved must already be a 16 bit integer value.
Call IsDBNull to check for null values before calling this method.