MySqlDataReader.GetUInt16 Method (String)

MySQL Connector/Net

MySqlDataReaderGetUInt16 Method (String)
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.9.9
Syntax
public ushort GetUInt16(
	string column
)
Public Function GetUInt16 ( 
	column As String
) As UShort
public:
unsigned short GetUInt16(
	String^ column
)
member GetUInt16 : 
        column : string -> uint16 

Parameters

column
Type: SystemString
The zero-based column ordinal or column name.

Return Value

Type: UInt16
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.

See Also