Export (0) Print
Expand All

RegistryKey.GetValue Method

Retrieves the value associated with the specified name.

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 GetValue(String) Retrieves the value associated with the specified name. Returns null if the name/value pair does not exist in the registry.
Public method GetValue(String, Object) Retrieves the value associated with the specified name. If the name is not found, returns the default value that you provide.
Public method GetValue(String, Object, RegistryValueOptions) Retrieves the value associated with the specified name and retrieval options. If the name is not found, returns the default value that you provide.
Top
Show:
© 2014 Microsoft