Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

RegistryKey.GetValue Method

Retrieves the value associated with the specified name.

Name Description
RegistryKey.GetValue (String) Retrieves the value associated with the specified name. Returns a null reference (Nothing in Visual Basic) if the name/value pair does not exist in the registry.

Supported by the .NET Compact Framework.

RegistryKey.GetValue (String, Object) Retrieves the value associated with the specified name. If the name is not found, returns the default value that you provide.

Supported by the .NET Compact Framework.

RegistryKey.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.

Community Additions

ADD
Show:
© 2015 Microsoft