API:System.Win.TaskbarCore.TThumbBarButtonListBase.Create
Delphi
constructor Create(const AOwner: TPersistent; const ItemClass: TCollectionItemClass; const AOwnerItem: TCollectionItem = nil);
C++
__fastcall TThumbBarButtonListBase(System::Classes::TPersistent* const AOwner, const System::Classes::TCollectionItemClass ItemClass, System::Classes::TCollectionItem* const AOwnerItem);
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
constructor | public | System.Win.TaskbarCore.pas System.Win.TaskbarCore.hpp |
System.Win.TaskbarCore | TThumbBarButtonListBase |
説明
Create は,TOwnedCollection のインスタンスを作成および初期化します。
System.Win.TaskbarCore.TThumbBarButtonListBase.Create は System.Classes.TOwnedCollection.Create を継承しています。以下の内容はすべて System.Classes.TOwnedCollection.Create を参照しています。
Create は,TOwnedCollection のインスタンスを作成および初期化します。
Create メソッドは,TPersistent クラスから派生したインスタンスオブジェクトの名前と,下位クラスの TCollectionItem の名前という 2 つのパラメータをとります。1 つめは,TPersistent から派生したインスタンスオブジェクトの名前で,TOwnedCollection インスタンスのオーナーを表します。2 番めのパラメータは,Add メソッドによって作成された項目のクラスを決定します。