System.Classes.TCollectionItem.Create
Delphi
constructor Create(Collection: TCollection); virtual;
C++
__fastcall virtual TCollectionItem(TCollection* Collection);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
constructor | public | System.Classes.pas System.Classes.hpp |
System.Classes | TCollectionItem |
Description
Creates and initializes a TCollectionItem instance.
Do not call Create to instantiate a collection item. Instead, call the Add method of the collection to which the item should belong.
Collection
identifies the TCollection instance to which the new item belongs.