RegistryKey.SetValue Method (Microsoft.Win32)

Switch View :
ScriptFree
.NET Framework Class Library
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.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method SetValue(String, Object) Sets the specified name/value pair.
Public method SetValue(String, Object, RegistryValueKind) Sets the value of a name/value pair in the registry key, using the specified registry data type.
Top
See Also

Reference