Create constructor

Project: Environment Variables Unit

Unit: PJEnvVars

Class: TPJEnvVars

Applies to: ~>3.0

constructor Create(AOwner: TComponent);

⚠️ TPJEnvVars has been deprecated. The TPJEnvironmentVars static class should be used instead.

Description

Constructs a new TPJEnvVars component instance.

Parameter:

Only one instance of a TPJEnvVars component is allowed on any form (or to be owned by any component). An attempt to create a second instance with the same owner will cause an Exception to be raised and the duplicate instance will not be created.

Multiple instances can be created by passing nil as the AOwner parameter.