次の方法で共有


RegistryTools.DoesRegistryKeyExistInLocalMachineRoot(String, Boolean) メソッド

定義

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

パラメーター

regKeyPath
String

key\subkey\subsubkey 形式のレジストリ キーへのパス

use64Bit
Boolean

true の場合は 64 ビット レジストリが使用され、それ以外の場合は 32 ビットが使用されます

戻り値

キーが存在する場合は True、存在しない場合は false

実装

適用対象