Compartilhar via


IRegistryTools2.DoesRegistryKeyExistInLocalMachineRoot Método

Definição

Determina se existe uma chave no Registro raiz do HKLM

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

Parâmetros

regKeyPath
String

Caminho para a chave do Registro no formato key\subkey\subsubkey

use64Bit
Boolean

se true, ele usa o registro de 64 bits, caso contrário, 32 bits são usados

Retornos

True se a chave existir, false se ela não existir

Aplica-se a