Udostępnij za pośrednictwem


RegistryTools.DoesRegistryKeyExistInLocalMachineRoot(String, Boolean) Metoda

Definicja

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

public bool DoesRegistryKeyExistInLocalMachineRoot (string regKeyPath, bool use64Bit = false);
abstract member DoesRegistryKeyExistInLocalMachineRoot : string * bool -> bool
override this.DoesRegistryKeyExistInLocalMachineRoot : string * bool -> bool
Public Function DoesRegistryKeyExistInLocalMachineRoot (regKeyPath As String, Optional use64Bit As Boolean = false) As Boolean

Parametry

regKeyPath
String

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

use64Bit
Boolean

Jeśli wartość true, używa rejestru 64-bitowego, w przeciwnym razie jest używany 32-bitowy

Zwraca

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

Implementuje

Dotyczy