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