RegistryKey.OpenSubKey Method

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Retrieves the specified subkey.

Namespace:   Microsoft.Win32
Assembly:  mscorlib (in mscorlib.dll)

NameDescription
System_CAPS_pubmethodOpenSubKey(String)

Retrieves a subkey as read-only.

System_CAPS_pubmethodOpenSubKey(String, Boolean)

Retrieves a specified subkey, and specifies whether write access is to be applied to the key.

System_CAPS_pubmethodOpenSubKey(String, RegistryKeyPermissionCheck)

Retrieves the specified subkey for read or read/write access.

System_CAPS_pubmethodOpenSubKey(String, RegistryKeyPermissionCheck, RegistryRights)

Retrieves the specified subkey for read or read/write access, requesting the specified access rights.

System_CAPS_pubmethodOpenSubKey(String, RegistryRights)

Retrieves a subkey with the specified name and .

Available starting in .NET Framework 4.6

Return to top
Show: