FMX.ImgList.TCustomSourceItem.Create

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

Delphi

constructor Create(Collection: TCollection); override;

C++

__fastcall virtual TCustomSourceItem(System::Classes::TCollection* Collection);

プロパティ

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


説明

Creates は、TCustomSourceItem インスタンスを作成および初期化します。

Create は、継承した TCollectionItem.Create を呼び出して、TCustomSourceItem インスタンスを作成します。 その後、Create は、デフォルトの NameMultiResBitmap を初期化します。 CollectionTSourceCollection(またはその子孫)のインスタンスでなかった場合、Create は例外を発生させます。

Collection は、新しい TCustomSourceItem 項目が属する TSourceCollection コレクションを定義します。

コレクション項目をインスタンス化するために Create を呼び出してはいけません。 代わりに、項目が属するコレクションの、Add メソッドを呼び出します。

関連項目