System.Classes.TCollectionItem.Create

From RAD Studio API Documentation
Jump to: navigation, search

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.

See Also