System.Tether.AppProfile.TResourceCollection.Create
Delphi
constructor Create(AOwner: TComponent; ItemClass: TCollectionItemClass);
C++
__fastcall TResourceCollection(System::Classes::TComponent* AOwner, System::Classes::TCollectionItemClass ItemClass);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
constructor | public | System.Tether.AppProfile.pas System.Tether.AppProfile.hpp |
System.Tether.AppProfile | TResourceCollection |
Description
Creates and initializes a TResourceCollection instance.
Create takes two parameters:
AOwner
is the owner of the TResourceCollection instance. It must be an instance of TPersistent or a subclass.ItemClass
determines the class of the items created by the Add method. It must be TCollectionItem or a subclass.