System.Rtti.TRttiInstanceType.GetDeclaredFields
Delphi
function GetDeclaredFields: TArray<TRttiField>; override;
C++
virtual System::DynamicArray<TRttiField*> __fastcall GetDeclaredFields();
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | public | System.Rtti.pas System.Rtti.hpp |
System.Rtti | TRttiInstanceType |
説明
リフレクションされたクラス型で宣言されたすべての項目のリストを返します。
GetDeclaredFields メソッドを使用すると、リフレクションされたクラス型で宣言されたすべての項目 (変数) のリストを取得できます。 リフレクションされたクラス (継承クラスを含む) のすべての項目のリストを取得するには、代わりに GetFields メソッドを使用します。
関連項目