IRegistryTools.SetRegistryFromCurrentUserRoot(String, String, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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