This documentation is archived and is not being maintained.

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.

  NameDescription
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
Show: