This documentation is archived and is not being maintained.

Registry.SetValue Method

Sets the value of a name/value pair in a registry key.

Name Description
Registry.SetValue (String, String, Object) Sets the specified name/value pair on the specified registry key. If the specified key does not exist, it is created.

Supported by the .NET Compact Framework.

Registry.SetValue (String, String, Object, RegistryValueKind) Sets the name/value pair on the specified registry key, using the specified registry data type. If the specified key does not exist, it is created.

Supported by the .NET Compact Framework.

Show: