API:Data.Bind.Components.TBindArtifacts.GetAttr
Delphi
function GetAttr(Index: Integer): string; override;
C++
DYNAMIC System::UnicodeString __fastcall GetAttr(int Index);
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | protected | Data.Bind.Components.pas Data.Bind.Components.hpp |
Data.Bind.Components | TBindArtifacts |
説明
GetItemAttr メソッドを使って検索できるカスタム属性の名前を返します。
Data.Bind.Components.TBindArtifacts.GetAttr は System.Classes.TCollection.GetAttr を継承しています。以下の内容はすべて System.Classes.TCollection.GetAttr を参照しています。
GetItemAttr メソッドを使って検索できるカスタム属性の名前を返します。
TCollection の下位オブジェクトは,ユーザー定義の属性をコレクション内の項目と関連付けることができます。各属性は,名前と,コレクション内の各項目については文字列の値を持ちます。GetAttr メソッドは,属性の名前を返します。
Index は,名前を要求された属性を示します。これは,0 と n-1 の間の値です。n は,GetAttrCount が返す値です。
TCollection はカスタム属性を定義しないため,TCollection が実装する GetAttr は常に空の文字列を返します。