Microsoft.Win32.RegistryValueOptions Enumeration

Specifies optional behavior when retrieving name/value pairs from a registry key.

Syntax

[System.Flags]
public enum RegistryValueOptions

Remarks

Use the RegistryValueOptions.DoNotExpandEnvironmentNames flag with the RegistryKey.GetValue(string, object, RegistryValueOptions) method overload.

Members

Member NameDescription
DoNotExpandEnvironmentNames

A value of type RegistryValueKind.ExpandString is retrieved without expanding its embedded environment variables.

None

No optional behavior is specified.

Requirements

Namespace: Microsoft.Win32
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0