System.UnicodeString.StrRec

From RAD Studio API Documentation
Jump to: navigation, search

C++

struct StrRec {
#ifdef _WIN64
  int _Padding;
#endif /* _WIN64 */
  unsigned short codePage;
  unsigned short elemSize;
  int refCnt;
  int length;
};

Properties

Type Visibility Source Unit Parent
class protected ustring.h System UnicodeString

Description

Provides information about the Unicode string.

Use StrRec to retrieve information about the Unicode string. The fields of 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.



See Also