The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
RegistryPermission::AddPathList Method (RegistryPermissionAccess, String^)
.NET Framework (current version)
Adds access for the specified registry variables to the existing state of the permission.
Assembly: mscorlib (in mscorlib.dll)
Parameters
- access
-
Type:
System.Security.Permissions::RegistryPermissionAccess
One of the RegistryPermissionAccess values.
- pathList
-
Type:
System::String^
A list of registry variables (semicolon-separated).
| Exception | Condition |
|---|---|
| ArgumentException | The access parameter is not a valid value of RegistryPermissionAccess. -or- The pathList parameter is not a valid string. |
Use this method to modify access to registry variables by adding to the state of the current permission object.
.NET Framework
Available since 1.1
Available since 1.1
Show: