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.

Syntax
Visual Basic

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

public byte GetBytes(
   int columnID
);
Parameters
  • 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