SetBytes method

Sets the value for the specified column using an array of System.Bytes.

Syntax
Visual Basic

Public Sub SetBytes( _
   ByVal columnID As Integer, _
   ByVal val As Byte() _
)
C#

public void SetBytes(
   int columnID,
   byte[] val
);
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.

  • val   The new value for the column.

Remarks

Only suitable for columns of type ULDbType.Binary or ULDbType.LongBinary, or for columns of type ULDbType.UniqueIdentifier when val is of length 16. The data in the row is not actually changed until you execute an ULTable.Insert or Update, and that change is not made permanent until it is committed.

See also