1 <?xml version="1.0" encoding="utf-8"?>
2 <Type Name="RegistryOptions" FullName="Microsoft.Win32.RegistryOptions">
3 <TypeSignature Language="C#" Value="public enum RegistryOptions" />
4 <TypeSignature Language="ILAsm" Value=".class public auto ansi serializable sealed RegistryOptions extends System.Enum" />
6 <AssemblyName>mscorlib</AssemblyName>
7 <AssemblyVersion>4.0.0.0</AssemblyVersion>
10 <BaseTypeName>System.Enum</BaseTypeName>
14 <AttributeName>System.Flags</AttributeName>
19 <attribution license="cc4" from="Microsoft" modified="false" />
20 <para>You can create a registry key that is available only in memory and that will not be persisted when the computer is restarted. This is known as a volatile key. You can specify that you want to create a volatile or non-volatile key by using the <see cref="Overload:Microsoft.Win32.RegistryKey.CreateSubKey" /> method overloads that take an <paramref name="options" /> parameter. </para>
23 <attribution license="cc4" from="Microsoft" modified="false" />
24 <para>Specifies options to use when creating a registry key.</para>
28 <Member MemberName="None">
29 <MemberSignature Language="C#" Value="None" />
30 <MemberSignature Language="ILAsm" Value=".field public static literal valuetype Microsoft.Win32.RegistryOptions None = int32(0)" />
31 <MemberType>Field</MemberType>
33 <AssemblyVersion>4.0.0.0</AssemblyVersion>
36 <ReturnType>Microsoft.Win32.RegistryOptions</ReturnType>
40 <attribution license="cc4" from="Microsoft" modified="false" />
41 <para>A non-volatile key. This is the default.</para>
45 <Member MemberName="Volatile">
46 <MemberSignature Language="C#" Value="Volatile" />
47 <MemberSignature Language="ILAsm" Value=".field public static literal valuetype Microsoft.Win32.RegistryOptions Volatile = int32(1)" />
48 <MemberType>Field</MemberType>
50 <AssemblyVersion>4.0.0.0</AssemblyVersion>
53 <ReturnType>Microsoft.Win32.RegistryOptions</ReturnType>
57 <attribution license="cc4" from="Microsoft" modified="false" />
58 <para>A volatile key. The information is stored in memory and is not preserved when the corresponding registry hive is unloaded.</para>