RegistryKey.OpenSubKey Method

Retrieves the specified subkey.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method OpenSubKey(String) Retrieves a subkey as read-only.
Public method OpenSubKey(String, RegistryKeyPermissionCheck) Retrieves the specified subkey for read or read/write access.
Public method OpenSubKey(String, Boolean) Retrieves a specified subkey, and specifies whether write access is to be applied to the key.
Public method OpenSubKey(String, RegistryRights) Retrieves a subkey with the specified name and .Available starting in .NET Framework 2015
Public method OpenSubKey(String, RegistryKeyPermissionCheck, RegistryRights) Retrieves the specified subkey for read or read/write access, requesting the specified access rights.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft