RAD Studio VCL Reference
TCollection.Create Constructor

Creates and initializes a collection.

constructor Create(ItemClass: TCollectionItemClass);

Call Create to instantiate a TCollection object at runtime. Typically, TCollection descendants are created by a component that uses the collection to implement a property. 

ItemClass identifies TCollectionItem descendant that must be used to represent the items in the collection. The Add method uses this class to create items of the appropriate type. 


Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!