System.AnsiStringT.ElementSize

From RAD Studio API Documentation
Jump to: navigation, search

C++

unsigned short ElementSize() const { return Data ? GetRec().elemSize : (unsigned short)1; }

Properties

Type Visibility Source Unit Parent
function public dstring.h System AnsiStringT

Description

Gets the element size of data in a AnsiStringT.

ElementSize gets the element size in bytes of the data in a AnsiStringT instance. If the instance is empty, it returns 1.

See Also