Registry Methods

 

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

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticGetValue(String, String, Object)

Retrieves the value associated with the specified name, in the specified registry key. If the name is not found in the specified key, returns a default value that you provide, or null if the specified key does not exist.

System_CAPS_pubmethodSystem_CAPS_staticSetValue(String, String, Object)

Sets the specified name/value pair on the specified registry key. If the specified key does not exist, it is created.

System_CAPS_pubmethodSystem_CAPS_staticSetValue(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.

Return to top
Show: