RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
System::UnicodeString::StrRec Structure

Provides information about the Unicode string.

Pascal
StrRec = record
  codePage: unsigned short;
  elemSize: unsigned short;
  refCnt: Integer;
  length: Integer;
end;
C++
struct StrRec {
  unsigned short codePage;
  unsigned short elemSize;
  int refCnt;
  int length;
};

Use System::UnicodeString::StrRec to retrieve information about the Unicode string. The fields of System::UnicodeString::StrRec and their meaning are given in the following table.

Field 
Meaning 
codePage  
The code page of the Unicode string  
elemSize  
The number of bytes per character of the Unicode string  
refCnt  
The number of references to the Unicode string  
length  
The number of characters of the Unicode string  

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!