表示: Delphi C++
表示設定

System.TObject.ClassInfo

提供:XE2 API Documentation
移動: 案内, 検索

Delphi

class function ClassInfo: Pointer; inline;

C++

__classmethod void*  __fastcall ClassInfo();

プロパティ

種類 可視性 ソース ユニット
function public
System.pas
systobj.h
System TObject


説明

オブジェクト型の実行時型情報(RTTI)テーブルのポインタを返します。


ClassInfo を使用すると、特定のオブジェクト型の RTTI テーブルにアクセスすることができます。

クラスの中には実行時型情報を提供していないものがあります。そのようなクラスの場合、ClassInfo は nil(Delphi)または NULL(C++)を返します。TPersistent から派生したクラスはすべて、実行時型情報を提供しています。

関連項目

以前のバージョン
他の言語