SetValue Method

RegistryKey.SetValue Method

 

Sets the value of a name/value pair in the registry key. Depending on the overload, the registry data type is determined from the type of data being stored or from a specified RegistryValueKind.

Namespace:   Microsoft.Win32
Assembly:  mscorlib (in mscorlib.dll)

NameDescription
System_CAPS_pubmethodSetValue(String, Object)

Sets the specified name/value pair.

System_CAPS_pubmethodSetValue(String, Object, RegistryValueKind)

Sets the value of a name/value pair in the registry key, using the specified registry data type.

Return to top
Show:
© 2016 Microsoft