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