RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TriggerReadRow.GetBytes Method (int)

Returns the byte[] value of a given column.

Pascal
function GetBytes(columnName: string): byte[];
function GetBytes(ordinal: Integer): byte[];
C++
byte[] GetBytes(string columnName);
byte[] GetBytes(int ordinal);

GetBytes has several forms, depending on the input parameter:

  • Returns the value in the column named columnName as a byte[]. The parameter columnName is the name of the column containing the wanted value.
  • Returns the value in the column indicated by its ordinal as a byte[]. The parameter ordinal is the ordinal of the column containing the wanted value.

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!