Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.0 » UltraLite - .NET Programming » UltraLite .NET 2.0 API Reference » ULDataReader class » GetBytes methods


GetBytes(Int32) method

UL Ext.: Returns the value for the specified column as an array of System.Bytes. Only valid for columns of type ULDbType.Binary, ULDbType.LongBinary, or ULDbType.UniqueIdentifier.

Visual Basic

Public Function GetBytes( _
   ByVal columnID As Integer _
) As Byte

public byte GetBytes(
   int columnID
  • columnID¬†¬† The ID number of the column. The value must be in the range [0,ULDataReader.FieldCount-1]. The first column in the cursor has an ID value of zero.

Return value

The column value as an array of System.Bytes.

See also