System.Tether.AppProfile.TActionCollection.Create
Delphi
constructor Create(AOwner: TComponent; ItemClass: TCollectionItemClass);
C++
__fastcall TActionCollection(System::Classes::TComponent* AOwner, System::Classes::TCollectionItemClass ItemClass);
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
constructor | public | System.Tether.AppProfile.pas System.Tether.AppProfile.hpp |
System.Tether.AppProfile | TActionCollection |
説明
TActionCollection クラスのインスタンスを作成および初期化します。
Create は、パラメータを 2 つ取ります:
AOwner
は、TActionCollection インスタンスの所有者です。TPersistent またはそのサブクラスのインスタンスでなければなりません。ItemClass
は、Add メソッドによって作成される項目のクラスを決定します。TCollectionItem またはそのサブクラスでなければなりません。