UtilEnvironmentVariableGetEnvironmentVariableInfo Method

Finds an environment variable and returns a EnvironmentVariableInfo object that contains the variable data.

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 EnvironmentVariableInfo GetEnvironmentVariableInfo(
	EnvironmentVariableTarget scope,
	string name
)

Parameters

scope  EnvironmentVariableTarget
The environment scope that owns the variable.
name  String
The variable name.

Return Value

EnvironmentVariableInfo
A EnvironmentVariableInfo object that contains the variable data.

Exceptions

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

See Also