API:Data.Bind.Components.TFormatExpressions.GetAttrCount

提供:RAD Studio API Documentation

Delphi

function GetAttrCount: Integer; override;

C++

DYNAMIC int __fastcall GetAttrCount(void);

プロパティ

種類 可視性 ソース ユニット
function protected
Data.Bind.Components.pas
Data.Bind.Components.hpp
Data.Bind.Components TFormatExpressions

説明

コレクション内の項目と関連するカスタム属性の数を返します。 {{#multireplace:Data.Bind.Components.TFormatExpressions.GetAttrCount|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} は {{#multireplace:System.Classes.TCollection.GetAttrCount|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} を継承しています。以下の内容はすべて {{#multireplace:System.Classes.TCollection.GetAttrCount|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} を参照しています。

コレクション内の項目と関連するカスタム属性の数を返します。

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

TCollection はカスタム属性を定義しないため,TCollection が実装する GetAttrCount は常に 0 を返します。

関連項目