Merge pull request #971
[mono.git] / mcs / class / corlib / Documentation / en / Microsoft.Win32 / RegistryOptions.xml
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" />
5   <AssemblyInfo>
6     <AssemblyName>mscorlib</AssemblyName>
7     <AssemblyVersion>4.0.0.0</AssemblyVersion>
8   </AssemblyInfo>
9   <Base>
10     <BaseTypeName>System.Enum</BaseTypeName>
11   </Base>
12   <Attributes>
13     <Attribute>
14       <AttributeName>System.Flags</AttributeName>
15     </Attribute>
16   </Attributes>
17   <Docs>
18     <remarks>
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>
21     </remarks>
22     <summary>
23       <attribution license="cc4" from="Microsoft" modified="false" />
24       <para>Specifies options to use when creating a registry key.</para>
25     </summary>
26   </Docs>
27   <Members>
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>
32       <AssemblyInfo>
33         <AssemblyVersion>4.0.0.0</AssemblyVersion>
34       </AssemblyInfo>
35       <ReturnValue>
36         <ReturnType>Microsoft.Win32.RegistryOptions</ReturnType>
37       </ReturnValue>
38       <Docs>
39         <summary>
40           <attribution license="cc4" from="Microsoft" modified="false" />
41           <para>A non-volatile key. This is the default.</para>
42         </summary>
43       </Docs>
44     </Member>
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>
49       <AssemblyInfo>
50         <AssemblyVersion>4.0.0.0</AssemblyVersion>
51       </AssemblyInfo>
52       <ReturnValue>
53         <ReturnType>Microsoft.Win32.RegistryOptions</ReturnType>
54       </ReturnValue>
55       <Docs>
56         <summary>
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>
59         </summary>
60       </Docs>
61     </Member>
62   </Members>
63 </Type>