System.Rtti.TRttiOrdinalType.GetTypeSize

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetTypeSize: Integer; override;

C++

virtual int __fastcall GetTypeSize();

Properties

Type Visibility Source Unit Parent
function protected
System.Rtti.pas
System.Rtti.hpp
System.Rtti TRttiOrdinalType

Description

Returns the size, in bytes, of the ordinal type.

GetTypeSize is overridden from the parent RTTI object and returns the size, in bytes, of the ordinal type. The same information can be acquired by using the SizeOf operator in Delphi.

See Also