Readonly
currentThe default profile for this build. On startup this is the profile selected unless overridden by command line arguments or environment variables. Setting this will change the profile used by default the next time the application is started. Attempting to change the default may throw an exception on builds that do not support changing the default profile, such as developer edition.
Readonly
isTests whether the profile lists on disk have changed since they were loaded. When this is true attempts to flush changes to disk will fail.
Readonly
profileReturns the number of profiles.
the number of profiles.
Readonly
profilesOptional
aInstancePtr: objectA run time mechanism for interface discovery.
NS_OK if the interface is supported by the associated instance, NS_NOINTERFACE if it is not.
aInstancePtr must not be null.
[in] A requested interface IID
[out] A pointer to an interface pointer to receive the result.
Create a new profile.
The profile temporary directory will be chosen based on where the profile directory is located.
If a profile with the given name already exists it will be returned instead of creating a new profile.
The profile directory. May be null, in which case a suitable default will be chosen based on the profile name.
The profile name.
Create a new profile with a unique name.
As above however the name given will be altered to make it a unique profile name.
The profile directory. May be null, in which case a suitable default will be chosen based on the profile name.
The prefix to use for the profile name. If unused this will be used as the profile name otherwise additional characters will be added to make the name unique.
Selects or creates a profile to use based on the profiles database, any environment variables and any command line arguments. Will not create a profile if aIsResetting is true. The profile is selected based on this order of preference:
Generated using TypeDoc
The profile currently in use if it is a named profile. This will return null if the current profile path doesn't match a profile in the database.