RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TAdoDbxDataReader.GetChars Method

Gets column value into an array of chars.

Pascal
function GetChars(Ordinal: Integer; DataOffset: Int64; Bytes: array of char; BufferOffset: Integer; Length: Integer): Int64; override;
C++
virtual __fastcall Int64 GetChars(int Ordinal, Int64 DataOffset, array of char Bytes, int BufferOffset, int Length);

GetChars reads a column value into an array of chars. It returns the number of characters read. The parameters are:

Parameter 
Description 
Ordinal  
Zero based column ordinal to read from.  
DataOffset  
Offset into the data to start reading from.  
Bytes  
Char array to read into.  
BufferOffset  
Byte offset into buffer at which to write data.  
Length  
Maximum number of chars to read.  

 

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