FMX.ImgList.TDestinationCollection.Create
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 は、AOwner が TCustomImageList の(またはその子孫)のインスタンスでなかった場合、例外を発生させます。