Sdílet prostřednictvím


RegistryTools.DoesRegistryKeyExistInLocalMachineRoot(String, Boolean) Metoda

Definice

Určuje, jestli v kořenovém registru HKLM existuje klíč.

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

Cesta ke klíči registru ve formátu klíč\podklíč\podklíč

use64Bit
Boolean

pokud ano, používá 64bitový registr, jinak se použije 32bitová verze.

Návraty

True, pokud klíč existuje, false, pokud neexistuje

Implementuje

Platí pro