IRegistryTools.SetRegistryFromCurrentUserRoot(String, String, Object) 方法

定義

從 HKCU 根登錄設定登錄中的值。

public:
 bool SetRegistryFromCurrentUserRoot(System::String ^ regKeyPath, System::String ^ regKeyName, System::Object ^ value);
public bool SetRegistryFromCurrentUserRoot (string regKeyPath, string regKeyName, object value);
abstract member SetRegistryFromCurrentUserRoot : string * string * obj -> bool
Public Function SetRegistryFromCurrentUserRoot (regKeyPath As String, regKeyName As String, value As Object) As Boolean

參數

regKeyPath
String

格式機碼\subkey\subsubkey 的登錄機碼路徑

regKeyName
String

機碼底下的變數名稱

value
Object

要設定的值

傳回

如果設定為 true,則為 false,如果發生錯誤則為 false

適用於