|
| MySQL Connector/Net |
| MySqlDataReader..::..GetUInt16 Method (Int32) |
| MySqlDataReader Class See Also Send Feedback |
|
Gets the value of the specified column as a 16-bit unsigned integer.
Namespace: MySql.Data.MySqlClient
Assembly: MySql.Data (in MySql.Data.dll) Version: 6.8.4.0
Syntax
| C# |
|---|
public ushort GetUInt16( int column ) |
| Visual Basic |
|---|
Public Function GetUInt16 ( _ column As Integer _ ) As UShort |
| Visual C++ |
|---|
public: unsigned short GetUInt16( int column ) |
Parameters
- column
- Type: System..::..Int32
The zero-based column ordinal or column name.
Return Value
The value of the specified column.
Remarks
No conversions are performed; therefore, the data retrieved must already be a 16 bit unsigned integer value.
Call IsDBNull to check for null values before calling this method.