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;
The subkey requested, or NULL if the operation failed.
RegistryKey Class | RegistryKey Members | Microsoft.Win32 Namespace | RegistryKey.OpenSubKey Overload List