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 (String, Boolean)

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( _
   ByVal name As String, _
   ByVal writable As Boolean _
) As RegistryKey
[C#]
public RegistryKey OpenSubKey(
   string name,
   bool writable
);
[C++]
public: RegistryKey* OpenSubKey(
   String* name,
   bool writable
);
[JScript]
public function OpenSubKey(
   name : String,
   writable : Boolean
) : RegistryKey;

Parameters

name
Name or path of subkey to open.
writable
[To be supplied.]

Return Value

The subkey requested, or NULL if the operation failed.

See Also

RegistryKey Class | RegistryKey Members | Microsoft.Win32 Namespace | RegistryKey.OpenSubKey Overload List