次の方法で共有


IRegistryTools2.DeleteRegistryKeyFromLocalMachineRoot(String, Boolean) メソッド

定義

指定したレジストリ キーと HKLM ルート レジストリ内のすべてのサブキーを削除します

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

パラメーター

regKeyPath
String

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

use64Bit
Boolean

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

戻り値

削除された場合は True、エラーの場合は false

適用対象