System.Rtti.TRttiDynamicArrayType.ElementSize

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property ElementSize: Integer read GetElementSize;

C++

__property int ElementSize = {read=GetElementSize, nodefault};

Properties

Type Visibility Source Unit Parent
property public
System.Rtti.pas
System.Rtti.hpp
System.Rtti TRttiDynamicArrayType

Description

Specifies the number of bytes occupied by an array element.

Use ElementSize to obtain the number of bytes occupied by an element in the reflected array type. If the array is made of heap-based types such as string or object references, the ElementSize property returns the size of the pointer that points to the heap location where the actual data is stored.

See Also