RegistryTools.DoesRegistryKeyExistInLocalMachineRoot(String, Boolean) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
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