FMX.ImgList.TDestinationCollection.Create

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

Delphi

constructor Create(AOwner: TPersistent; ItemClass: TDestinationItemClass);

C++

__fastcall TDestinationCollection(System::Classes::TPersistent* AOwner, TDestinationItemClass ItemClass);

プロパティ

種類 可視性 ソース ユニット
constructor public
FMX.ImgList.pas
FMX.ImgList.hpp
FMX.ImgList TDestinationCollection


説明

デスティネーション オブジェクトを作成し、コレクションが最初に使われる前に、そのデータを初期化します。

Create は、継承した TOwnedCollection.Create を呼び出して、TDestinationCollection コレクションを作成します。その後、Create は、ImageList を、AOwner パラメータで指定された TCustomImageList イメージ リストで初期化します。AOwner は、作成された TDestinationCollection コレクションの所有者です。

Create は、AOwnerTCustomImageList の(またはその子孫)のインスタンスでなかった場合、例外を発生させます。

関連項目