API:Vcl.CategoryButtons.TItemCollection.Create
Delphi
constructor Create(const ACategoryButtons: TCategoryButtons; const ItemClass: TCollectionItemClass); overload; virtual;
C++
__fastcall virtual TItemCollection(TCategoryButtons* const ACategoryButtons, const System::Classes::TCollectionItemClass ItemClass)/* overload */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
constructor | public | Vcl.CategoryButtons.pas Vcl.CategoryButtons.hpp |
Vcl.CategoryButtons | TItemCollection |
Description
Creates and initializes a collection.
Vcl.CategoryButtons.TItemCollection.Create inherits from System.Classes.TCollection.Create. All content below this line refers to System.Classes.TCollection.Create.
Creates and initializes a collection.
Call Create to instantiate a TCollection object at run time. Typically, TCollection descendants are created by a component that uses the collection to implement a property.
ItemClass
identifies the TCollectionItem descendants that must be used to represent the items in the collection. The Add method uses this class to create items of the appropriate type.