UtilEnvironmentVariableUnregisterVariable(EnvironmentVariableInfo, Boolean) Method

Unregisters a Windows environment variable.

Definition

Namespace: DevCase.Core.Windows.Common
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static void UnregisterVariable(
	EnvironmentVariableInfo EnvironmentVariableInfo,
	bool throwOnMissingVariable = false
)

Parameters

EnvironmentVariableInfo  EnvironmentVariableInfo
A EnvironmentVariableInfo object that contains the variable data.
throwOnMissingVariable  Boolean  (Optional)
If , raises an exception if the variable doesn't exists.

Example

This is a code example.
C#
No code example is currently available or this language may not be supported.

Exceptions

ArgumentNullException name
InvalidEnumArgumentException scope
ArgumentException The specified variable doesn't exists.;name

See Also