RegistryKey.OpenBaseKey(RegistryHive, RegistryView) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Opens a new RegistryKey that represents the requested key on the local machine with the specified view.
public:
static Microsoft::Win32::RegistryKey ^ OpenBaseKey(Microsoft::Win32::RegistryHive hKey, Microsoft::Win32::RegistryView view);
public static Microsoft.Win32.RegistryKey OpenBaseKey (Microsoft.Win32.RegistryHive hKey, Microsoft.Win32.RegistryView view);
[System.Runtime.InteropServices.ComVisible(false)]
public static Microsoft.Win32.RegistryKey OpenBaseKey (Microsoft.Win32.RegistryHive hKey, Microsoft.Win32.RegistryView view);
static member OpenBaseKey : Microsoft.Win32.RegistryHive * Microsoft.Win32.RegistryView -> Microsoft.Win32.RegistryKey
[<System.Runtime.InteropServices.ComVisible(false)>]
static member OpenBaseKey : Microsoft.Win32.RegistryHive * Microsoft.Win32.RegistryView -> Microsoft.Win32.RegistryKey
Public Shared Function OpenBaseKey (hKey As RegistryHive, view As RegistryView) As RegistryKey
Parameters
- hKey
- RegistryHive
The HKEY to open.
- view
- RegistryView
The registry view to use.
Returns
The requested registry key.
- Attributes
Exceptions
hKey
or view
is invalid.
The user does not have the necessary registry rights.
The user does not have the permissions required to perform this action.
Applies to
GitHub पर हमारे साथ सहयोग करें
इस सामग्री का स्रोत GitHub पर पाया जा सकता है, जहाँ आप समस्याएँ बना और समीक्षा भी कर सकते हैं और अनुरोध खींच सकते हैं. अधिक जानकारी के लिए, हमारे योगदानकर्ता गाइड देखें.