This topic has not yet been rated Rate this topic

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.

  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
Did you find this helpful?
(2000 characters remaining)
Community Content Add
Annotations FAQ