System.Rtti.TValue.DataSize

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property DataSize: Integer read GetDataSize;

C++

__property int DataSize = {read=GetDataSize};

Properties

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

Description

Returns the number of bytes occupied by the stored value.

DataSize returns the number of bytes occupied by the stored value. For simple types, DataSize is equal to the number of bytes that SizeOf returns. For heap-based values, DataSize returns the number of bytes occupied by the data on the heap.

See Also