TPackageVariants class
Collection of package variants
Declaration
TPackageVariants = class(TNamedCollection)Inheritance
- TPackageVariants
- TNamedCollection
- TCollection
- TPersistent
- TObject
Description
TPackageVariants is a collection class that manages multiple
TPackageVariant objects.
This class provides methods for adding, accessing, and enumerating package variants within a package configuration.
Properties
Name | public | Name of the package variants collection |
MasterPackage | public | Reference to the master package owning the variants |
DefaultPackageVariant | public | Default package variant used when none specified |
ActivePackageVariant | public | Currently active package variant for building |
DefaultPackageVariantName | public | Name of the default package variant |
ActivePackageVariantName | public | Name of the currently active package variant |
IsInheritable | public | Whether package variants can be inherited by child packages |
AutoAddToPackage | public | Whether variants are automatically added to the package |
Methods
Add | public | Adds a new package variant to the collection |
GetEnumerator | public | Gets enumerator for iterating package variants |
Inherited
From TNamedCollection (4)
From TCollection (28)
Assign BeginUpdate Changed Clear Count Create Delete Destroy EndUpdate Exchange FindItemID GetAttr GetAttrCount GetItem GetItemAttr GetNamePath Insert ItemClass Move Notify Owner PropName SetItem SetItemName SetPropName Sort Update UpdateCount
From TPersistent (6)
AssignTo DefineProperties FPOAttachObserver FPODetachObserver FPONotifyObservers GetOwner
From TObject (40)
AfterConstruction BeforeDestruction CheckDisposed ClassInfo ClassName ClassNameIs ClassParent ClassType CleanupInstance DefaultHandler DefaultHandlerStr Dispatch DispatchStr Disposed DisposeOf Equals FieldAddress Free FreeInstance GetDisposed GetHashCode GetInterface GetInterfaceByStr GetInterfaceEntry GetInterfaceEntryByStr GetInterfaceTable GetInterfaceWeak GetLastCastErrorInfo InheritsFrom InitInstance InstanceSize MethodAddress MethodName newinstance QualifiedClassName SafeCallException StringMessageTable SystemHasExtendedRTTI ToString UnitName
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
