System.UnicodeString.ElementSize
C++
unsigned short ElementSize() const { return Data ? GetRec().elemSize : (unsigned short)2; }
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | ustring.h | System | UnicodeString |
Description
Gets the element size of the data in a UnicodeString.
ElementSize gets the element size, in bytes, of the data in a UnicodeString instance. If the instance is empty, it returns 2.