API:Web.WebFileDispatcher.TWebDirectories.GetAttr

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

Delphi

function GetAttr(Index: Integer): string; override;

C++

DYNAMIC System::UnicodeString __fastcall GetAttr(int Index);

プロパティ

種類 可視性 ソース ユニット
function protected
Web.WebFileDispatcher.pas
Web.WebFileDispatcher.hpp
Web.WebFileDispatcher TWebDirectories

説明

GetItemAttr メソッドを使って検索できるカスタム属性の名前を返します。

Web.WebFileDispatcher.TWebDirectories.GetAttr は System.Classes.TCollection.GetAttr を継承しています。以下の内容はすべて System.Classes.TCollection.GetAttr を参照しています。

GetItemAttr メソッドを使って検索できるカスタム属性の名前を返します。

TCollection の下位オブジェクトは,ユーザー定義の属性をコレクション内の項目と関連付けることができます。各属性は,名前と,コレクション内の各項目については文字列の値を持ちます。GetAttr メソッドは,属性の名前を返します。

Index は,名前を要求された属性を示します。これは,0 と n-1 の間の値です。n は,GetAttrCount が返す値です。

TCollection はカスタム属性を定義しないため,TCollection が実装する GetAttr は常に空の文字列を返します。

関連項目