System.Rtti.TRttiInstanceType.GetAttributes

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

Delphi

function GetAttributes: TArray<TCustomAttribute>; override;

C++

virtual System::DynamicArray<System::TCustomAttribute*> __fastcall GetAttributes();

プロパティ

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

説明

クラス型に関連付けられた属性のリストを返します。

GetAttributes メソッドを呼び出すと、クラス型に関連付けられた属性のリストを取得できます。

メモ:  GetAttributes は、属性型のリストではなくインスタンスのリストを返します。 GetAttributes は、個々に関連付けられた属性をインスタンス化します。

関連項目