System.Rtti.TRttiRecordType.GetTypeSize

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

function GetTypeSize: Integer; override;

C++

virtual int __fastcall GetTypeSize();

プロパティ

種類 可視性 ソース ユニット
function protected
System.Rtti.pas
System.Rtti.hpp
System.Rtti TRttiRecordType

説明

レコード型のサイズをバイト単位で返します。

GetTypeSize メソッドは親 RTTI オブジェクトからオーバーライドされ、レコード型のサイズをバイト単位で返します。 Delphi の SizeOf オペレータを使用することで、同じ情報を取得できます。

関連項目