NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

RegistryKey.OpenSubKey

Retrieves a subkey.

Overload List

Retrieves a subkey. If writable is true, the key will be opened for reading and writing, otherwise, the key will be opened as read-only.

[Visual Basic] Overloads Public Function OpenSubKey(String, Boolean) As RegistryKey
[C#] public RegistryKey OpenSubKey(String, bool);
[C++] public: RegistryKey* OpenSubKey(String*, bool);
[JScript] public function OpenSubKey(String, Boolean) : RegistryKey;

Retrieves a subkey as read-only.

[Visual Basic] Overloads Public Function OpenSubKey(String) As RegistryKey
[C#] public RegistryKey OpenSubKey(String);
[C++] public: RegistryKey* OpenSubKey(String*);
[JScript] public function OpenSubKey(String) : RegistryKey;

See Also

RegistryKey Class | RegistryKey Members | Microsoft.Win32 Namespace