Udostępnij za pośrednictwem


RegistryTools.DoesRegistryKeyExistInCurrentUserRoot(String) Metoda

Definicja

Określa, czy klucz istnieje w głównym rejestrze HKCU

public:
 virtual bool DoesRegistryKeyExistInCurrentUserRoot(System::String ^ regKeyPath);
public bool DoesRegistryKeyExistInCurrentUserRoot (string regKeyPath);
abstract member DoesRegistryKeyExistInCurrentUserRoot : string -> bool
override this.DoesRegistryKeyExistInCurrentUserRoot : string -> bool
Public Function DoesRegistryKeyExistInCurrentUserRoot (regKeyPath As String) As Boolean

Parametry

regKeyPath
String

Ścieżka do klucza rejestru w formacie key\subkey\subsubkey

Zwraca

Prawda, jeśli klucz istnieje, wartość false, jeśli nie

Implementuje

Dotyczy