Share via


IRegistryTools.SetRegistryFromCurrentUserRoot(String, String, Object) Method

Definition

Sets a value in the registry from the HKCU root Registry.

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

Parameters

regKeyPath
String

Path to the registry key in the format key\subkey\subsubkey

regKeyName
String

Variable name under the key

value
Object

value to set

Returns

true if set or false if error

Applies to