RegistryKey.OpenBaseKey(RegistryHive, RegistryView) Yöntem

Tanım

Belirtilen görünüme sahip yerel makinede istenen anahtarı temsil eden yeni RegistryKey bir açılır.

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

Parametreler

hKey
RegistryHive

Açılacak HKEY.

view
RegistryView

Kullanılacak kayıt defteri görünümü.

Döndürülenler

İstenen kayıt defteri anahtarı.

Öznitelikler

Özel durumlar

hKey veya view geçersiz.

Kullanıcının gerekli kayıt defteri hakları yok.

Kullanıcının bu eylemi gerçekleştirmek için gereken izinleri yok.

Şunlara uygulanır