WindowsUtilitiesEnsureSubKey Method |
Ensures a registry sub key exists and opens it for write access.
Namespace:
ShellBoost.Core.Utilities
Assembly:
ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax public static RegistryKey EnsureSubKey(
RegistryKey root,
string name
)
Parameters
- root
- Type: Microsoft.Win32RegistryKey
The regisry root. - name
- Type: SystemString
The registry sub key name or path.
Return Value
Type:
RegistryKeyAn instance of the RegistryKey class.
Exceptions See Also