System.Tether.AppProfile.TResourceCollection.Create

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

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 またはそのサブクラスでなければなりません。

関連項目