[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Collection of package variants
Source position: fpmkunit.pp line 655
type TPackageVariants = class(TNamedCollection) |
||
public |
||
function Add(); virtual; overload; |
|
Adds a new package variant to the collection |
function GetEnumerator; |
|
Gets enumerator for iterating package variants |
property Name: string; [rw] |
|
Name of the package variants collection |
property MasterPackage: TPackage; [r] |
|
Reference to the master package owning the variants |
property DefaultPackageVariant: TPackageVariant; [r] |
|
Default package variant used when none specified |
property ActivePackageVariant: TPackageVariant; [r] |
|
Currently active package variant for building |
property DefaultPackageVariantName: string; [rw] |
|
Name of the default package variant |
property ActivePackageVariantName: string; [rw] |
|
Name of the currently active package variant |
property IsInheritable: Boolean; [r] |
|
Whether package variants can be inherited by child packages |
property AutoAddToPackage: Boolean; [r] |
|
Whether variants are automatically added to the package |
end; |
|
Collection of package variants |
|
| | | ||
|
Collection class for managing named items |
|
| | | ||
| | | ||
| | | ||
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.