UtilEnvironmentPathAddDirectory Method
Adds a directory into the PATH registry value.
Namespace: DevCase.Core.Windows.RegistryAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static void AddDirectory(
RegistryScope scope,
string directory
)
public:
static void AddDirectory(
RegistryScope scope,
String^ directory
)
static member AddDirectory :
scope : RegistryScope *
directory : string -> unit
No code example is currently available or this language may not be supported.
Parameters
- scope RegistryScope
-
The registry scope.
- directory String
-
The directory path to add.
ArgumentException
|
Directory contains invalid characters.;directory
|
InvalidEnumArgumentException
|
scope
|