[NUI] Version Update (22237)
[platform/core/csapi/tizenfx.git] / pkg / Tizen.NET.API11 / build / tizen11.0 / ref / Microsoft.Win32.Registry.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <doc>
3   <assembly>
4     <name>Microsoft.Win32.Registry</name>
5   </assembly>
6   <members>
7     <member name="T:Microsoft.Win32.Registry">
8       <summary>Provides <see cref="T:Microsoft.Win32.RegistryKey" /> objects that represent the root keys in the Windows registry, and <see langword="static" /> methods to access key/value pairs.</summary>
9     </member>
10     <member name="F:Microsoft.Win32.Registry.ClassesRoot">
11       <summary>Defines the types (or classes) of documents and the properties associated with those types. This field reads the Windows registry base key HKEY_CLASSES_ROOT.</summary>
12     </member>
13     <member name="F:Microsoft.Win32.Registry.CurrentConfig">
14       <summary>Contains configuration information pertaining to the hardware that is not specific to the user. This field reads the Windows registry base key HKEY_CURRENT_CONFIG.</summary>
15     </member>
16     <member name="F:Microsoft.Win32.Registry.CurrentUser">
17       <summary>Contains information about the current user preferences. This field reads the Windows registry base key HKEY_CURRENT_USER.</summary>
18     </member>
19     <member name="F:Microsoft.Win32.Registry.LocalMachine">
20       <summary>Contains the configuration data for the local machine. This field reads the Windows registry base key HKEY_LOCAL_MACHINE.</summary>
21     </member>
22     <member name="F:Microsoft.Win32.Registry.PerformanceData">
23       <summary>Contains performance information for software components. This field reads the Windows registry base key HKEY_PERFORMANCE_DATA.</summary>
24     </member>
25     <member name="F:Microsoft.Win32.Registry.Users">
26       <summary>Contains information about the default user configuration. This field reads the Windows registry base key HKEY_USERS.</summary>
27     </member>
28     <member name="M:Microsoft.Win32.Registry.GetValue(System.String,System.String,System.Object)">
29       <summary>Retrieves the value associated with the specified name, in the specified registry key. If the name is not found in the specified key, returns a default value that you provide, or <see langword="null" /> if the specified key does not exist.</summary>
30       <param name="keyName">The full registry path of the key, beginning with a valid registry root, such as "HKEY_CURRENT_USER".</param>
31       <param name="valueName">The name of the name/value pair.</param>
32       <param name="defaultValue">The value to return if <paramref name="valueName" /> does not exist.</param>
33       <exception cref="T:System.Security.SecurityException">The user does not have the permissions required to read from the registry key.</exception>
34       <exception cref="T:System.IO.IOException">The <see cref="T:Microsoft.Win32.RegistryKey" /> that contains the specified value has been marked for deletion.</exception>
35       <exception cref="T:System.ArgumentException">
36         <paramref name="keyName" /> does not begin with a valid registry root.</exception>
37       <returns>
38         <see langword="null" /> if the subkey specified by <paramref name="keyName" /> does not exist; otherwise, the value associated with <paramref name="valueName" />, or <paramref name="defaultValue" /> if <paramref name="valueName" /> is not found.</returns>
39     </member>
40     <member name="M:Microsoft.Win32.Registry.SetValue(System.String,System.String,System.Object)">
41       <summary>Sets the specified name/value pair on the specified registry key. If the specified key does not exist, it is created.</summary>
42       <param name="keyName">The full registry path of the key, beginning with a valid registry root, such as "HKEY_CURRENT_USER".</param>
43       <param name="valueName">The name of the name/value pair.</param>
44       <param name="value">The value to be stored.</param>
45       <exception cref="T:System.ArgumentNullException">
46         <paramref name="value" /> is <see langword="null" />.</exception>
47       <exception cref="T:System.ArgumentException">
48         <paramref name="keyName" /> does not begin with a valid registry root.
49
50  -or-
51
52  <paramref name="keyName" /> is longer than the maximum length allowed (255 characters).</exception>
53       <exception cref="T:System.UnauthorizedAccessException">The <see cref="T:Microsoft.Win32.RegistryKey" /> is read-only, and thus cannot be written to; for example, it is a root-level node.</exception>
54       <exception cref="T:System.Security.SecurityException">The user does not have the permissions required to create or modify registry keys.</exception>
55     </member>
56     <member name="M:Microsoft.Win32.Registry.SetValue(System.String,System.String,System.Object,Microsoft.Win32.RegistryValueKind)">
57       <summary>Sets the name/value pair on the specified registry key, using the specified registry data type. If the specified key does not exist, it is created.</summary>
58       <param name="keyName">The full registry path of the key, beginning with a valid registry root, such as "HKEY_CURRENT_USER".</param>
59       <param name="valueName">The name of the name/value pair.</param>
60       <param name="value">The value to be stored.</param>
61       <param name="valueKind">The registry data type to use when storing the data.</param>
62       <exception cref="T:System.ArgumentNullException">
63         <paramref name="value" /> is <see langword="null" />.</exception>
64       <exception cref="T:System.ArgumentException">
65         <paramref name="keyName" /> does not begin with a valid registry root.
66
67  -or-
68
69  <paramref name="keyName" /> is longer than the maximum length allowed (255 characters).
70
71  -or-
72
73  The type of <paramref name="value" /> did not match the registry data type specified by <paramref name="valueKind" />, therefore the data could not be converted properly.</exception>
74       <exception cref="T:System.UnauthorizedAccessException">The <see cref="T:Microsoft.Win32.RegistryKey" /> is read-only, and thus cannot be written to; for example, it is a root-level node, or the key has not been opened with write access.</exception>
75       <exception cref="T:System.Security.SecurityException">The user does not have the permissions required to create or modify registry keys.</exception>
76     </member>
77     <member name="T:Microsoft.Win32.RegistryHive">
78       <summary>Represents the possible values for a top-level node on a foreign machine.</summary>
79     </member>
80     <member name="F:Microsoft.Win32.RegistryHive.ClassesRoot">
81       <summary>Represents the HKEY_CLASSES_ROOT base key on another computer. This value can be passed to the <see cref="M:Microsoft.Win32.RegistryKey.OpenRemoteBaseKey(Microsoft.Win32.RegistryHive,System.String)" /> method, to open this node remotely.</summary>
82     </member>
83     <member name="F:Microsoft.Win32.RegistryHive.CurrentConfig">
84       <summary>Represents the HKEY_CURRENT_CONFIG base key on another computer. This value can be passed to the <see cref="M:Microsoft.Win32.RegistryKey.OpenRemoteBaseKey(Microsoft.Win32.RegistryHive,System.String)" /> method, to open this node remotely.</summary>
85     </member>
86     <member name="F:Microsoft.Win32.RegistryHive.CurrentUser">
87       <summary>Represents the HKEY_CURRENT_USER base key on another computer. This value can be passed to the <see cref="M:Microsoft.Win32.RegistryKey.OpenRemoteBaseKey(Microsoft.Win32.RegistryHive,System.String)" /> method, to open this node remotely.</summary>
88     </member>
89     <member name="F:Microsoft.Win32.RegistryHive.LocalMachine">
90       <summary>Represents the HKEY_LOCAL_MACHINE base key on another computer. This value can be passed to the <see cref="M:Microsoft.Win32.RegistryKey.OpenRemoteBaseKey(Microsoft.Win32.RegistryHive,System.String)" /> method, to open this node remotely.</summary>
91     </member>
92     <member name="F:Microsoft.Win32.RegistryHive.PerformanceData">
93       <summary>Represents the HKEY_PERFORMANCE_DATA base key on another computer. This value can be passed to the <see cref="M:Microsoft.Win32.RegistryKey.OpenRemoteBaseKey(Microsoft.Win32.RegistryHive,System.String)" /> method, to open this node remotely.</summary>
94     </member>
95     <member name="F:Microsoft.Win32.RegistryHive.Users">
96       <summary>Represents the HKEY_USERS base key on another computer. This value can be passed to the <see cref="M:Microsoft.Win32.RegistryKey.OpenRemoteBaseKey(Microsoft.Win32.RegistryHive,System.String)" /> method, to open this node remotely.</summary>
97     </member>
98     <member name="T:Microsoft.Win32.RegistryKey">
99       <summary>Represents a key-level node in the Windows registry. This class is a registry encapsulation.</summary>
100     </member>
101     <member name="M:Microsoft.Win32.RegistryKey.Close">
102       <summary>Closes the key and flushes it to disk if its contents have been modified.</summary>
103     </member>
104     <member name="M:Microsoft.Win32.RegistryKey.CreateSubKey(System.String)">
105       <summary>Creates a new subkey or opens an existing subkey for write access.</summary>
106       <param name="subkey">The name or path of the subkey to create or open. This string is not case-sensitive.</param>
107       <exception cref="T:System.ArgumentNullException">
108         <paramref name="subkey" /> is <see langword="null" />.</exception>
109       <exception cref="T:System.Security.SecurityException">The user does not have the permissions required to create or open the registry key.</exception>
110       <exception cref="T:System.ObjectDisposedException">The <see cref="T:Microsoft.Win32.RegistryKey" /> on which this method is being invoked is closed (closed keys cannot be accessed).</exception>
111       <exception cref="T:System.UnauthorizedAccessException">The <see cref="T:Microsoft.Win32.RegistryKey" /> cannot be written to; for example, it was not opened as a writable key , or the user does not have the necessary access rights.</exception>
112       <exception cref="T:System.IO.IOException">The nesting level exceeds 510.  
113   
114  -or-  
115   
116  A system error occurred, such as deletion of the key, or an attempt to create a key in the <see cref="F:Microsoft.Win32.Registry.LocalMachine" /> root.</exception>
117       <returns>The newly created subkey, or <see langword="null" /> if the operation failed. If a zero-length string is specified for <paramref name="subkey" />, the current <see cref="T:Microsoft.Win32.RegistryKey" /> object is returned.</returns>
118     </member>
119     <member name="M:Microsoft.Win32.RegistryKey.CreateSubKey(System.String,Microsoft.Win32.RegistryKeyPermissionCheck)">
120       <summary>Creates a new subkey or opens an existing subkey for write access, using the specified permission check option.</summary>
121       <param name="subkey">The name or path of the subkey to create or open. This string is not case-sensitive.</param>
122       <param name="permissionCheck">One of the enumeration values that specifies whether the key is opened for read or read/write access.</param>
123       <exception cref="T:System.ArgumentNullException">
124         <paramref name="subkey" /> is <see langword="null" />.</exception>
125       <exception cref="T:System.Security.SecurityException">The user does not have the permissions required to create or open the registry key.</exception>
126       <exception cref="T:System.ArgumentException">
127         <paramref name="permissionCheck" /> contains an invalid value.</exception>
128       <exception cref="T:System.ObjectDisposedException">The <see cref="T:Microsoft.Win32.RegistryKey" /> on which this method is being invoked is closed (closed keys cannot be accessed).</exception>
129       <exception cref="T:System.UnauthorizedAccessException">The <see cref="T:Microsoft.Win32.RegistryKey" /> cannot be written to; for example, it was not opened as a writable key, or the user does not have the necessary access rights.</exception>
130       <exception cref="T:System.IO.IOException">The nesting level exceeds 510.  
131   
132  -or-  
133   
134  A system error occurred, such as deletion of the key, or an attempt to create a key in the <see cref="F:Microsoft.Win32.Registry.LocalMachine" /> root.</exception>
135       <returns>The newly created subkey, or <see langword="null" /> if the operation failed. If a zero-length string is specified for <paramref name="subkey" />, the current <see cref="T:Microsoft.Win32.RegistryKey" /> object is returned.</returns>
136     </member>
137     <member name="M:Microsoft.Win32.RegistryKey.CreateSubKey(System.String,Microsoft.Win32.RegistryKeyPermissionCheck,Microsoft.Win32.RegistryOptions)">
138       <summary>Creates a subkey or opens a subkey for write access, using the specified permission check and registry options.</summary>
139       <param name="subkey">The name or path of the subkey to create or open.</param>
140       <param name="permissionCheck">One of the enumeration values that specifies whether the key is opened for read or read/write access.</param>
141       <param name="registryOptions">The registry option to use; for example, that creates a volatile key.</param>
142       <exception cref="T:System.ArgumentNullException">
143         <paramref name="subkey" /> is <see langword="null" />.</exception>
144       <exception cref="T:System.ObjectDisposedException">The current <see cref="T:Microsoft.Win32.RegistryKey" /> object is closed (closed keys cannot be accessed).</exception>
145       <exception cref="T:System.UnauthorizedAccessException">The current <see cref="T:Microsoft.Win32.RegistryKey" /> object cannot be written to; for example, it was not opened as a writable key, or the user does not have the required access rights.</exception>
146       <exception cref="T:System.IO.IOException">The nesting level exceeds 510.  
147   
148  -or-  
149   
150  A system error occurred, such as deletion of the key or an attempt to create a key in the <see cref="F:Microsoft.Win32.Registry.LocalMachine" /> root.</exception>
151       <exception cref="T:System.Security.SecurityException">The user does not have the permissions required to create or open the registry key.</exception>
152       <returns>The newly created subkey, or <see langword="null" /> if the operation failed.</returns>
153     </member>
154     <member name="M:Microsoft.Win32.RegistryKey.CreateSubKey(System.String,Microsoft.Win32.RegistryKeyPermissionCheck,Microsoft.Win32.RegistryOptions,System.Security.AccessControl.RegistrySecurity)">
155       <summary>Creates a subkey or opens a subkey for write access, using the specified permission check option, registry option, and registry security.</summary>
156       <param name="subkey">The name or path of the subkey to create or open.</param>
157       <param name="permissionCheck">One of the enumeration values that specifies whether the key is opened for read or read/write access.</param>
158       <param name="registryOptions">The registry option to use.</param>
159       <param name="registrySecurity">The access control security for the new subkey.</param>
160       <exception cref="T:System.ArgumentNullException">
161         <paramref name="subkey" /> is <see langword="null" />.</exception>
162       <exception cref="T:System.ObjectDisposedException">The current <see cref="T:Microsoft.Win32.RegistryKey" /> object is closed. Closed keys cannot be accessed.</exception>
163       <exception cref="T:System.UnauthorizedAccessException">The current <see cref="T:Microsoft.Win32.RegistryKey" /> object cannot be written to; for example, it was not opened as a writable key, or the user does not have the required access rights.</exception>
164       <exception cref="T:System.IO.IOException">The nesting level exceeds 510.  
165   
166  -or-  
167   
168  A system error occurred, such as deletion of the key or an attempt to create a key in the <see cref="F:Microsoft.Win32.Registry.LocalMachine" /> root.</exception>
169       <exception cref="T:System.Security.SecurityException">The user does not have the permissions required to create or open the registry key.</exception>
170       <returns>The newly created subkey, or <see langword="null" /> if the operation failed.</returns>
171     </member>
172     <member name="M:Microsoft.Win32.RegistryKey.CreateSubKey(System.String,Microsoft.Win32.RegistryKeyPermissionCheck,System.Security.AccessControl.RegistrySecurity)">
173       <summary>Creates a new subkey or opens an existing subkey for write access, using the specified permission check option and registry security.</summary>
174       <param name="subkey">The name or path of the subkey to create or open. This string is not case-sensitive.</param>
175       <param name="permissionCheck">One of the enumeration values that specifies whether the key is opened for read or read/write access.</param>
176       <param name="registrySecurity">The access control security for the new key.</param>
177       <exception cref="T:System.ArgumentNullException">
178         <paramref name="subkey" /> is <see langword="null" />.</exception>
179       <exception cref="T:System.Security.SecurityException">The user does not have the permissions required to create or open the registry key.</exception>
180       <exception cref="T:System.ArgumentException">
181         <paramref name="permissionCheck" /> contains an invalid value.</exception>
182       <exception cref="T:System.ObjectDisposedException">The <see cref="T:Microsoft.Win32.RegistryKey" /> on which this method is being invoked is closed (closed keys cannot be accessed).</exception>
183       <exception cref="T:System.UnauthorizedAccessException">The current <see cref="T:Microsoft.Win32.RegistryKey" /> cannot be written to; for example, it was not opened as a writable key, or the user does not have the necessary access rights.</exception>
184       <exception cref="T:System.IO.IOException">The nesting level exceeds 510.  
185   
186  -or-  
187   
188  A system error occurred, such as deletion of the key, or an attempt to create a key in the <see cref="F:Microsoft.Win32.Registry.LocalMachine" /> root.</exception>
189       <returns>The newly created subkey, or <see langword="null" /> if the operation failed. If a zero-length string is specified for <paramref name="subkey" />, the current <see cref="T:Microsoft.Win32.RegistryKey" /> object is returned.</returns>
190     </member>
191     <member name="M:Microsoft.Win32.RegistryKey.CreateSubKey(System.String,System.Boolean)">
192       <summary>Creates a new subkey or opens an existing subkey with the specified access. Available starting with .NET Framework 4.6.</summary>
193       <param name="subkey">The name or path of the subkey to create or open. This string is not case-sensitive.</param>
194       <param name="writable">
195         <see langword="true" /> to indicate the new subkey is writable; otherwise, <see langword="false" />.</param>
196       <exception cref="T:System.ArgumentNullException">
197         <paramref name="subkey" /> is <see langword="null" />.</exception>
198       <exception cref="T:System.Security.SecurityException">The user does not have the permissions required to create or open the registry key.</exception>
199       <exception cref="T:System.UnauthorizedAccessException">The current <see cref="T:Microsoft.Win32.RegistryKey" /> cannot be written to; for example, it was not opened as a writable key, or the user does not have the necessary access rights.</exception>
200       <exception cref="T:System.IO.IOException">The nesting level exceeds 510.  
201   
202  -or-  
203   
204  A system error occurred, such as deletion of the key, or an attempt to create a key in the <see cref="F:Microsoft.Win32.Registry.LocalMachine" /> root.</exception>
205       <returns>The newly created subkey, or <see langword="null" /> if the operation failed. If a zero-length string is specified for <paramref name="subkey" />, the current <see cref="T:Microsoft.Win32.RegistryKey" /> object is returned.</returns>
206     </member>
207     <member name="M:Microsoft.Win32.RegistryKey.CreateSubKey(System.String,System.Boolean,Microsoft.Win32.RegistryOptions)">
208       <summary>Creates a new subkey or opens an existing subkey with the specified access. Available starting with .NET Framework 4.6.</summary>
209       <param name="subkey">The name or path of the subkey to create or open. This string is not case-sensitive.</param>
210       <param name="writable">
211         <see langword="true" /> to indicate the new subkey is writable; otherwise, <see langword="false" />.</param>
212       <param name="options">The registry option to use.</param>
213       <exception cref="T:System.ArgumentNullException">
214         <paramref name="subkey" /> is <see langword="null" />.</exception>
215       <exception cref="T:System.ArgumentException">
216         <paramref name="options" /> does not specify a valid Option.</exception>
217       <exception cref="T:System.Security.SecurityException">The user does not have the permissions required to create or open the registry key.</exception>
218       <exception cref="T:System.UnauthorizedAccessException">The current <see cref="T:Microsoft.Win32.RegistryKey" /> cannot be written to; for example, it was not opened as a writable key, or the user does not have the necessary access rights.</exception>
219       <exception cref="T:System.IO.IOException">The nesting level exceeds 510.  
220   
221  -or-  
222   
223  A system error occurred, such as deletion of the key, or an attempt to create a key in the <see cref="F:Microsoft.Win32.Registry.LocalMachine" /> root.</exception>
224       <returns>The newly created subkey, or <see langword="null" /> if the operation failed. If a zero-length string is specified for <paramref name="subkey" />, the current <see cref="T:Microsoft.Win32.RegistryKey" /> object is returned.</returns>
225     </member>
226     <member name="M:Microsoft.Win32.RegistryKey.DeleteSubKey(System.String)">
227       <summary>Deletes the specified subkey.</summary>
228       <param name="subkey">The name of the subkey to delete. This string is not case-sensitive.</param>
229       <exception cref="T:System.InvalidOperationException">The <paramref name="subkey" /> has child subkeys.</exception>
230       <exception cref="T:System.ArgumentException">The <paramref name="subkey" /> parameter does not specify a valid registry key.</exception>
231       <exception cref="T:System.ArgumentNullException">
232         <paramref name="subkey" /> is <see langword="null" /></exception>
233       <exception cref="T:System.Security.SecurityException">The user does not have the permissions required to delete the key.</exception>
234       <exception cref="T:System.ObjectDisposedException">The <see cref="T:Microsoft.Win32.RegistryKey" /> being manipulated is closed (closed keys cannot be accessed).</exception>
235       <exception cref="T:System.UnauthorizedAccessException">The user does not have the necessary registry rights.</exception>
236     </member>
237     <member name="M:Microsoft.Win32.RegistryKey.DeleteSubKey(System.String,System.Boolean)">
238       <summary>Deletes the specified subkey, and specifies whether an exception is raised if the subkey is not found.</summary>
239       <param name="subkey">The name of the subkey to delete. This string is not case-sensitive.</param>
240       <param name="throwOnMissingSubKey">Indicates whether an exception should be raised if the specified subkey cannot be found. If this argument is <see langword="true" /> and the specified subkey does not exist, an exception is raised. If this argument is <see langword="false" /> and the specified subkey does not exist, no action is taken.</param>
241       <exception cref="T:System.InvalidOperationException">
242         <paramref name="subkey" /> has child subkeys.</exception>
243       <exception cref="T:System.ArgumentException">
244         <paramref name="subkey" /> does not specify a valid registry key, and <paramref name="throwOnMissingSubKey" /> is <see langword="true" />.</exception>
245       <exception cref="T:System.ArgumentNullException">
246         <paramref name="subkey" /> is <see langword="null" />.</exception>
247       <exception cref="T:System.Security.SecurityException">The user does not have the permissions required to delete the key.</exception>
248       <exception cref="T:System.ObjectDisposedException">The <see cref="T:Microsoft.Win32.RegistryKey" /> being manipulated is closed (closed keys cannot be accessed).</exception>
249       <exception cref="T:System.UnauthorizedAccessException">The user does not have the necessary registry rights.</exception>
250     </member>
251     <member name="M:Microsoft.Win32.RegistryKey.DeleteSubKeyTree(System.String)">
252       <summary>Deletes a subkey and any child subkeys recursively.</summary>
253       <param name="subkey">The subkey to delete. This string is not case-sensitive.</param>
254       <exception cref="T:System.ArgumentNullException">
255         <paramref name="subkey" /> is <see langword="null" />.</exception>
256       <exception cref="T:System.ArgumentException">Deletion of a root hive is attempted.  
257   
258  -or-  
259   
260  <paramref name="subkey" /> does not specify a valid registry subkey.</exception>
261       <exception cref="T:System.IO.IOException">An I/O error has occurred.</exception>
262       <exception cref="T:System.Security.SecurityException">The user does not have the permissions required to delete the key.</exception>
263       <exception cref="T:System.ObjectDisposedException">The <see cref="T:Microsoft.Win32.RegistryKey" /> being manipulated is closed (closed keys cannot be accessed).</exception>
264       <exception cref="T:System.UnauthorizedAccessException">The user does not have the necessary registry rights.</exception>
265     </member>
266     <member name="M:Microsoft.Win32.RegistryKey.DeleteSubKeyTree(System.String,System.Boolean)">
267       <summary>Deletes the specified subkey and any child subkeys recursively, and specifies whether an exception is raised if the subkey is not found.</summary>
268       <param name="subkey">The name of the subkey to delete. This string is not case-sensitive.</param>
269       <param name="throwOnMissingSubKey">Indicates whether an exception should be raised if the specified subkey cannot be found. If this argument is <see langword="true" /> and the specified subkey does not exist, an exception is raised. If this argument is <see langword="false" /> and the specified subkey does not exist, no action is taken.</param>
270       <exception cref="T:System.ArgumentException">An attempt was made to delete the root hive of the tree.  
271   
272  -or-  
273   
274  <paramref name="subkey" /> does not specify a valid registry subkey, and <paramref name="throwOnMissingSubKey" /> is <see langword="true" />.</exception>
275       <exception cref="T:System.ArgumentNullException">
276         <paramref name="subkey" /> is <see langword="null" />.</exception>
277       <exception cref="T:System.ObjectDisposedException">The <see cref="T:Microsoft.Win32.RegistryKey" /> is closed (closed keys cannot be accessed).</exception>
278       <exception cref="T:System.UnauthorizedAccessException">The user does not have the necessary registry rights.</exception>
279       <exception cref="T:System.Security.SecurityException">The user does not have the permissions required to delete the key.</exception>
280     </member>
281     <member name="M:Microsoft.Win32.RegistryKey.DeleteValue(System.String)">
282       <summary>Deletes the specified value from this key.</summary>
283       <param name="name">The name of the value to delete.</param>
284       <exception cref="T:System.ArgumentException">
285         <paramref name="name" /> is not a valid reference to a value.</exception>
286       <exception cref="T:System.Security.SecurityException">The user does not have the permissions required to delete the value.</exception>
287       <exception cref="T:System.ObjectDisposedException">The <see cref="T:Microsoft.Win32.RegistryKey" /> being manipulated is closed (closed keys cannot be accessed).</exception>
288       <exception cref="T:System.UnauthorizedAccessException">The <see cref="T:Microsoft.Win32.RegistryKey" /> being manipulated is read-only.</exception>
289     </member>
290     <member name="M:Microsoft.Win32.RegistryKey.DeleteValue(System.String,System.Boolean)">
291       <summary>Deletes the specified value from this key, and specifies whether an exception is raised if the value is not found.</summary>
292       <param name="name">The name of the value to delete.</param>
293       <param name="throwOnMissingValue">Indicates whether an exception should be raised if the specified value cannot be found. If this argument is <see langword="true" /> and the specified value does not exist, an exception is raised. If this argument is <see langword="false" /> and the specified value does not exist, no action is taken.</param>
294       <exception cref="T:System.ArgumentException">
295         <paramref name="name" /> is not a valid reference to a value and <paramref name="throwOnMissingValue" /> is <see langword="true" />.  
296   
297  -or-  
298   
299  <paramref name="name" /> is <see langword="null" />.</exception>
300       <exception cref="T:System.Security.SecurityException">The user does not have the permissions required to delete the value.</exception>
301       <exception cref="T:System.ObjectDisposedException">The <see cref="T:Microsoft.Win32.RegistryKey" /> being manipulated is closed (closed keys cannot be accessed).</exception>
302       <exception cref="T:System.UnauthorizedAccessException">The <see cref="T:Microsoft.Win32.RegistryKey" /> being manipulated is read-only.</exception>
303     </member>
304     <member name="M:Microsoft.Win32.RegistryKey.Dispose">
305       <summary>Releases all resources used by the current instance of the <see cref="T:Microsoft.Win32.RegistryKey" /> class.</summary>
306     </member>
307     <member name="M:Microsoft.Win32.RegistryKey.Flush">
308       <summary>Writes all the attributes of the specified open registry key into the registry.</summary>
309     </member>
310     <member name="M:Microsoft.Win32.RegistryKey.FromHandle(Microsoft.Win32.SafeHandles.SafeRegistryHandle)">
311       <summary>Creates a registry key from a specified handle.</summary>
312       <param name="handle">The handle to the registry key.</param>
313       <exception cref="T:System.ArgumentNullException">
314         <paramref name="handle" /> is <see langword="null" />.</exception>
315       <exception cref="T:System.UnauthorizedAccessException">The user does not have the necessary registry rights.</exception>
316       <exception cref="T:System.Security.SecurityException">The user does not have the permissions required to perform this action.</exception>
317       <returns>A registry key.</returns>
318     </member>
319     <member name="M:Microsoft.Win32.RegistryKey.FromHandle(Microsoft.Win32.SafeHandles.SafeRegistryHandle,Microsoft.Win32.RegistryView)">
320       <summary>Creates a registry key from a specified handle and registry view setting.</summary>
321       <param name="handle">The handle to the registry key.</param>
322       <param name="view">The registry view to use.</param>
323       <exception cref="T:System.ArgumentException">
324         <paramref name="view" /> is invalid.</exception>
325       <exception cref="T:System.ArgumentNullException">
326         <paramref name="handle" /> is <see langword="null" />.</exception>
327       <exception cref="T:System.UnauthorizedAccessException">The user does not have the necessary registry rights.</exception>
328       <exception cref="T:System.Security.SecurityException">The user does not have the permissions required to perform this action.</exception>
329       <returns>A registry key.</returns>
330     </member>
331     <member name="M:Microsoft.Win32.RegistryKey.GetAccessControl">
332       <summary>Returns the access control security for the current registry key.</summary>
333       <exception cref="T:System.Security.SecurityException">The user does not have the necessary permissions.</exception>
334       <exception cref="T:System.ObjectDisposedException">The <see cref="T:Microsoft.Win32.RegistryKey" /> being manipulated is closed (closed keys cannot be accessed).</exception>
335       <exception cref="T:System.InvalidOperationException">The current key has been deleted.</exception>
336       <returns>An object that describes the access control permissions on the registry key represented by the current <see cref="T:Microsoft.Win32.RegistryKey" />.</returns>
337     </member>
338     <member name="M:Microsoft.Win32.RegistryKey.GetAccessControl(System.Security.AccessControl.AccessControlSections)">
339       <summary>Returns the specified sections of the access control security for the current registry key.</summary>
340       <param name="includeSections">A bitwise combination of enumeration values that specifies the type of security information to get.</param>
341       <exception cref="T:System.Security.SecurityException">The user does not have the necessary permissions.</exception>
342       <exception cref="T:System.ObjectDisposedException">The <see cref="T:Microsoft.Win32.RegistryKey" /> being manipulated is closed (closed keys cannot be accessed).</exception>
343       <exception cref="T:System.InvalidOperationException">The current key has been deleted.</exception>
344       <returns>An object that describes the access control permissions on the registry key represented by the current <see cref="T:Microsoft.Win32.RegistryKey" />.</returns>
345     </member>
346     <member name="M:Microsoft.Win32.RegistryKey.GetSubKeyNames">
347       <summary>Retrieves an array of strings that contains all the subkey names.</summary>
348       <exception cref="T:System.Security.SecurityException">The user does not have the permissions required to read from the key.</exception>
349       <exception cref="T:System.ObjectDisposedException">The <see cref="T:Microsoft.Win32.RegistryKey" /> being manipulated is closed (closed keys cannot be accessed).</exception>
350       <exception cref="T:System.UnauthorizedAccessException">The user does not have the necessary registry rights.</exception>
351       <exception cref="T:System.IO.IOException">A system error occurred, for example the current key has been deleted.</exception>
352       <returns>An array of strings that contains the names of the subkeys for the current key.</returns>
353     </member>
354     <member name="M:Microsoft.Win32.RegistryKey.GetValue(System.String)">
355       <summary>Retrieves the value associated with the specified name. Returns <see langword="null" /> if the name/value pair does not exist in the registry.</summary>
356       <param name="name">The name of the value to retrieve. This string is not case-sensitive.</param>
357       <exception cref="T:System.Security.SecurityException">The user does not have the permissions required to read from the registry key.</exception>
358       <exception cref="T:System.ObjectDisposedException">The <see cref="T:Microsoft.Win32.RegistryKey" /> that contains the specified value is closed (closed keys cannot be accessed).</exception>
359       <exception cref="T:System.IO.IOException">The <see cref="T:Microsoft.Win32.RegistryKey" /> that contains the specified value has been marked for deletion.</exception>
360       <exception cref="T:System.UnauthorizedAccessException">The user does not have the necessary registry rights.</exception>
361       <returns>The value associated with <paramref name="name" />, or <see langword="null" /> if <paramref name="name" /> is not found.</returns>
362     </member>
363     <member name="M:Microsoft.Win32.RegistryKey.GetValue(System.String,System.Object)">
364       <summary>Retrieves the value associated with the specified name. If the name is not found, returns the default value that you provide.</summary>
365       <param name="name">The name of the value to retrieve. This string is not case-sensitive.</param>
366       <param name="defaultValue">The value to return if <paramref name="name" /> does not exist.</param>
367       <exception cref="T:System.Security.SecurityException">The user does not have the permissions required to read from the registry key.</exception>
368       <exception cref="T:System.ObjectDisposedException">The <see cref="T:Microsoft.Win32.RegistryKey" /> that contains the specified value is closed (closed keys cannot be accessed).</exception>
369       <exception cref="T:System.IO.IOException">The <see cref="T:Microsoft.Win32.RegistryKey" /> that contains the specified value has been marked for deletion.</exception>
370       <exception cref="T:System.UnauthorizedAccessException">The user does not have the necessary registry rights.</exception>
371       <returns>The value associated with <paramref name="name" />, with any embedded environment variables left unexpanded, or <paramref name="defaultValue" /> if <paramref name="name" /> is not found.</returns>
372     </member>
373     <member name="M:Microsoft.Win32.RegistryKey.GetValue(System.String,System.Object,Microsoft.Win32.RegistryValueOptions)">
374       <summary>Retrieves the value associated with the specified name and retrieval options. If the name is not found, returns the default value that you provide.</summary>
375       <param name="name">The name of the value to retrieve. This string is not case-sensitive.</param>
376       <param name="defaultValue">The value to return if <paramref name="name" /> does not exist.</param>
377       <param name="options">One of the enumeration values that specifies optional processing of the retrieved value.</param>
378       <exception cref="T:System.Security.SecurityException">The user does not have the permissions required to read from the registry key.</exception>
379       <exception cref="T:System.ObjectDisposedException">The <see cref="T:Microsoft.Win32.RegistryKey" /> that contains the specified value is closed (closed keys cannot be accessed).</exception>
380       <exception cref="T:System.IO.IOException">The <see cref="T:Microsoft.Win32.RegistryKey" /> that contains the specified value has been marked for deletion.</exception>
381       <exception cref="T:System.ArgumentException">
382         <paramref name="options" /> is not a valid <see cref="T:Microsoft.Win32.RegistryValueOptions" /> value; for example, an invalid value is cast to <see cref="T:Microsoft.Win32.RegistryValueOptions" />.</exception>
383       <exception cref="T:System.UnauthorizedAccessException">The user does not have the necessary registry rights.</exception>
384       <returns>The value associated with <paramref name="name" />, processed according to the specified <paramref name="options" />, or <paramref name="defaultValue" /> if <paramref name="name" /> is not found.</returns>
385     </member>
386     <member name="M:Microsoft.Win32.RegistryKey.GetValueKind(System.String)">
387       <summary>Retrieves the registry data type of the value associated with the specified name.</summary>
388       <param name="name">The name of the value whose registry data type is to be retrieved. This string is not case-sensitive.</param>
389       <exception cref="T:System.Security.SecurityException">The user does not have the permissions required to read from the registry key.</exception>
390       <exception cref="T:System.ObjectDisposedException">The <see cref="T:Microsoft.Win32.RegistryKey" /> that contains the specified value is closed (closed keys cannot be accessed).</exception>
391       <exception cref="T:System.IO.IOException">The subkey that contains the specified value does not exist.  
392   
393  -or-  
394   
395  The name/value pair specified by <paramref name="name" /> does not exist.</exception>
396       <exception cref="T:System.UnauthorizedAccessException">The user does not have the necessary registry rights.</exception>
397       <returns>The registry data type of the value associated with <paramref name="name" />.</returns>
398     </member>
399     <member name="M:Microsoft.Win32.RegistryKey.GetValueNames">
400       <summary>Retrieves an array of strings that contains all the value names associated with this key.</summary>
401       <exception cref="T:System.Security.SecurityException">The user does not have the permissions required to read from the registry key.</exception>
402       <exception cref="T:System.ObjectDisposedException">The <see cref="T:Microsoft.Win32.RegistryKey" /> being manipulated is closed (closed keys cannot be accessed).</exception>
403       <exception cref="T:System.UnauthorizedAccessException">The user does not have the necessary registry rights.</exception>
404       <exception cref="T:System.IO.IOException">A system error occurred; for example, the current key has been deleted.</exception>
405       <returns>An array of strings that contains the value names for the current key.</returns>
406     </member>
407     <member name="M:Microsoft.Win32.RegistryKey.OpenBaseKey(Microsoft.Win32.RegistryHive,Microsoft.Win32.RegistryView)">
408       <summary>Opens a new <see cref="T:Microsoft.Win32.RegistryKey" /> that represents the requested key on the local machine with the specified view.</summary>
409       <param name="hKey">The HKEY to open.</param>
410       <param name="view">The registry view to use.</param>
411       <exception cref="T:System.ArgumentException">
412         <paramref name="hKey" /> or <paramref name="view" /> is invalid.</exception>
413       <exception cref="T:System.UnauthorizedAccessException">The user does not have the necessary registry rights.</exception>
414       <exception cref="T:System.Security.SecurityException">The user does not have the permissions required to perform this action.</exception>
415       <returns>The requested registry key.</returns>
416     </member>
417     <member name="M:Microsoft.Win32.RegistryKey.OpenRemoteBaseKey(Microsoft.Win32.RegistryHive,System.String)">
418       <summary>Opens a new <see cref="T:Microsoft.Win32.RegistryKey" /> that represents the requested key on a remote machine.</summary>
419       <param name="hKey">The HKEY to open, from the <see cref="T:Microsoft.Win32.RegistryHive" /> enumeration.</param>
420       <param name="machineName">The remote machine.</param>
421       <exception cref="T:System.ArgumentException">
422         <paramref name="hKey" /> is invalid.</exception>
423       <exception cref="T:System.IO.IOException">
424         <paramref name="machineName" /> is not found.</exception>
425       <exception cref="T:System.ArgumentNullException">
426         <paramref name="machineName" /> is <see langword="null" />.</exception>
427       <exception cref="T:System.Security.SecurityException">The user does not have the proper permissions to perform this operation.</exception>
428       <exception cref="T:System.UnauthorizedAccessException">The user does not have the necessary registry rights.</exception>
429       <returns>The requested registry key.</returns>
430     </member>
431     <member name="M:Microsoft.Win32.RegistryKey.OpenRemoteBaseKey(Microsoft.Win32.RegistryHive,System.String,Microsoft.Win32.RegistryView)">
432       <summary>Opens a new registry key that represents the requested key on a remote machine with the specified view.</summary>
433       <param name="hKey">The HKEY to open from the <see cref="T:Microsoft.Win32.RegistryHive" /> enumeration.</param>
434       <param name="machineName">The remote machine.</param>
435       <param name="view">The registry view to use.</param>
436       <exception cref="T:System.ArgumentException">
437         <paramref name="hKey" /> or <paramref name="view" /> is invalid.</exception>
438       <exception cref="T:System.IO.IOException">
439         <paramref name="machineName" /> is not found.</exception>
440       <exception cref="T:System.ArgumentNullException">
441         <paramref name="machineName" /> is <see langword="null" />.</exception>
442       <exception cref="T:System.UnauthorizedAccessException">The user does not have the necessary registry rights.</exception>
443       <exception cref="T:System.Security.SecurityException">The user does not have the required permissions to perform this operation.</exception>
444       <returns>The requested registry key.</returns>
445     </member>
446     <member name="M:Microsoft.Win32.RegistryKey.OpenSubKey(System.String)">
447       <summary>Retrieves a subkey as read-only.</summary>
448       <param name="name">The name or path of the subkey to open as read-only.</param>
449       <exception cref="T:System.ArgumentNullException">
450         <paramref name="name" /> is <see langword="null" /></exception>
451       <exception cref="T:System.ObjectDisposedException">The <see cref="T:Microsoft.Win32.RegistryKey" /> is closed (closed keys cannot be accessed).</exception>
452       <exception cref="T:System.Security.SecurityException">The user does not have the permissions required to read the registry key.</exception>
453       <returns>The subkey requested, or <see langword="null" /> if the operation failed.</returns>
454     </member>
455     <member name="M:Microsoft.Win32.RegistryKey.OpenSubKey(System.String,Microsoft.Win32.RegistryKeyPermissionCheck)">
456       <summary>Retrieves the specified subkey for read or read/write access.</summary>
457       <param name="name">The name or path of the subkey to create or open.</param>
458       <param name="permissionCheck">One of the enumeration values that specifies whether the key is opened for read or read/write access.</param>
459       <exception cref="T:System.ArgumentNullException">
460         <paramref name="name" /> is <see langword="null" /></exception>
461       <exception cref="T:System.ArgumentException">
462         <paramref name="permissionCheck" /> contains an invalid value.</exception>
463       <exception cref="T:System.ObjectDisposedException">The <see cref="T:Microsoft.Win32.RegistryKey" /> is closed (closed keys cannot be accessed).</exception>
464       <exception cref="T:System.Security.SecurityException">The user does not have the permissions required to read the registry key.</exception>
465       <returns>The subkey requested, or <see langword="null" /> if the operation failed.</returns>
466     </member>
467     <member name="M:Microsoft.Win32.RegistryKey.OpenSubKey(System.String,Microsoft.Win32.RegistryKeyPermissionCheck,System.Security.AccessControl.RegistryRights)">
468       <summary>Retrieves the specified subkey for read or read/write access, requesting the specified access rights.</summary>
469       <param name="name">The name or path of the subkey to create or open.</param>
470       <param name="permissionCheck">One of the enumeration values that specifies whether the key is opened for read or read/write access.</param>
471       <param name="rights">A bitwise combination of enumeration values that specifies the desired security access.</param>
472       <exception cref="T:System.ArgumentNullException">
473         <paramref name="name" /> is <see langword="null" /></exception>
474       <exception cref="T:System.ArgumentException">
475         <paramref name="permissionCheck" /> contains an invalid value.</exception>
476       <exception cref="T:System.ObjectDisposedException">The <see cref="T:Microsoft.Win32.RegistryKey" /> is closed (closed keys cannot be accessed).</exception>
477       <exception cref="T:System.Security.SecurityException">
478         <paramref name="rights" /> includes invalid registry rights values.  
479   
480  -or-  
481   
482  The user does not have the requested permissions.</exception>
483       <returns>The subkey requested, or <see langword="null" /> if the operation failed.</returns>
484     </member>
485     <member name="M:Microsoft.Win32.RegistryKey.OpenSubKey(System.String,System.Boolean)">
486       <summary>Retrieves a specified subkey, and specifies whether write access is to be applied to the key.</summary>
487       <param name="name">Name or path of the subkey to open.</param>
488       <param name="writable">Set to <see langword="true" /> if you need write access to the key.</param>
489       <exception cref="T:System.ArgumentNullException">
490         <paramref name="name" /> is <see langword="null" />.</exception>
491       <exception cref="T:System.ObjectDisposedException">The <see cref="T:Microsoft.Win32.RegistryKey" /> is closed (closed keys cannot be accessed).</exception>
492       <exception cref="T:System.Security.SecurityException">The user does not have the permissions required to access the registry key in the specified mode.</exception>
493       <returns>The subkey requested, or <see langword="null" /> if the operation failed.</returns>
494     </member>
495     <member name="M:Microsoft.Win32.RegistryKey.OpenSubKey(System.String,System.Security.AccessControl.RegistryRights)">
496       <summary>Retrieves a subkey with the specified name and access rights. Available starting with .NET Framework 4.6.</summary>
497       <param name="name">The name or path of the subkey to create or open.</param>
498       <param name="rights">The rights for the registry key.</param>
499       <exception cref="T:System.ArgumentNullException">
500         <paramref name="name" /> is <see langword="null" />.</exception>
501       <exception cref="T:System.ObjectDisposedException">The <see cref="T:Microsoft.Win32.RegistryKey" /> is closed (closed keys cannot be accessed).</exception>
502       <exception cref="T:System.Security.SecurityException">The user does not have the permissions required to access the registry key in the specified mode.</exception>
503       <returns>The subkey requested, or <see langword="null" /> if the operation failed.</returns>
504     </member>
505     <member name="M:Microsoft.Win32.RegistryKey.SetAccessControl(System.Security.AccessControl.RegistrySecurity)">
506       <summary>Applies Windows access control security to an existing registry key.</summary>
507       <param name="registrySecurity">The access control security to apply to the current subkey.</param>
508       <exception cref="T:System.UnauthorizedAccessException">The current <see cref="T:Microsoft.Win32.RegistryKey" /> object represents a key with access control security, and the caller does not have <see cref="F:System.Security.AccessControl.RegistryRights.ChangePermissions" /> rights.</exception>
509       <exception cref="T:System.ArgumentNullException">
510         <paramref name="registrySecurity" /> is <see langword="null" />.</exception>
511       <exception cref="T:System.ObjectDisposedException">The <see cref="T:Microsoft.Win32.RegistryKey" /> being manipulated is closed (closed keys cannot be accessed).</exception>
512     </member>
513     <member name="M:Microsoft.Win32.RegistryKey.SetValue(System.String,System.Object)">
514       <summary>Sets the specified name/value pair.</summary>
515       <param name="name">The name of the value to store.</param>
516       <param name="value">The data to be stored.</param>
517       <exception cref="T:System.ArgumentNullException">
518         <paramref name="value" /> is <see langword="null" />.</exception>
519       <exception cref="T:System.ArgumentException">
520         <paramref name="value" /> is an unsupported data type.</exception>
521       <exception cref="T:System.ObjectDisposedException">The <see cref="T:Microsoft.Win32.RegistryKey" /> that contains the specified value is closed (closed keys cannot be accessed).</exception>
522       <exception cref="T:System.UnauthorizedAccessException">The <see cref="T:Microsoft.Win32.RegistryKey" /> is read-only, and cannot be written to; for example, the key has not been opened with write access.</exception>
523       <exception cref="T:System.Security.SecurityException">The user does not have the permissions required to create or modify registry keys.</exception>
524       <exception cref="T:System.IO.IOException">The <see cref="T:Microsoft.Win32.RegistryKey" /> object represents a root-level node, and the operating system is Windows 2000, Windows XP, or Windows Server 2003.</exception>
525     </member>
526     <member name="M:Microsoft.Win32.RegistryKey.SetValue(System.String,System.Object,Microsoft.Win32.RegistryValueKind)">
527       <summary>Sets the value of a name/value pair in the registry key, using the specified registry data type.</summary>
528       <param name="name">The name of the value to be stored.</param>
529       <param name="value">The data to be stored.</param>
530       <param name="valueKind">The registry data type to use when storing the data.</param>
531       <exception cref="T:System.ArgumentNullException">
532         <paramref name="value" /> is <see langword="null" />.</exception>
533       <exception cref="T:System.ArgumentException">The type of <paramref name="value" /> did not match the registry data type specified by <paramref name="valueKind" />, therefore the data could not be converted properly.</exception>
534       <exception cref="T:System.ObjectDisposedException">The <see cref="T:Microsoft.Win32.RegistryKey" /> that contains the specified value is closed (closed keys cannot be accessed).</exception>
535       <exception cref="T:System.UnauthorizedAccessException">The <see cref="T:Microsoft.Win32.RegistryKey" /> is read-only, and cannot be written to; for example, the key has not been opened with write access.</exception>
536       <exception cref="T:System.Security.SecurityException">The user does not have the permissions required to create or modify registry keys.</exception>
537       <exception cref="T:System.IO.IOException">The <see cref="T:Microsoft.Win32.RegistryKey" /> object represents a root-level node, and the operating system is Windows 2000, Windows XP, or Windows Server 2003.</exception>
538     </member>
539     <member name="M:Microsoft.Win32.RegistryKey.ToString">
540       <summary>Retrieves a string representation of this key.</summary>
541       <exception cref="T:System.ObjectDisposedException">The <see cref="T:Microsoft.Win32.RegistryKey" /> being accessed is closed (closed keys cannot be accessed).</exception>
542       <returns>A string representing the key. If the specified key is invalid (cannot be found) then <see langword="null" /> is returned.</returns>
543     </member>
544     <member name="P:Microsoft.Win32.RegistryKey.Handle">
545       <summary>Gets a <see cref="T:Microsoft.Win32.SafeHandles.SafeRegistryHandle" /> object that represents the registry key that the current <see cref="T:Microsoft.Win32.RegistryKey" /> object encapsulates.</summary>
546       <exception cref="T:System.ObjectDisposedException">The registry key is closed. Closed keys cannot be accessed.</exception>
547       <exception cref="T:System.UnauthorizedAccessException">The user does not have the necessary registry rights.</exception>
548       <exception cref="T:System.IO.IOException">A system error occurred, such as deletion of the current key.</exception>
549       <exception cref="T:System.Security.SecurityException">The user does not have the permissions required to read the key.</exception>
550       <returns>The handle to the registry key.</returns>
551     </member>
552     <member name="P:Microsoft.Win32.RegistryKey.Name">
553       <summary>Retrieves the name of the key.</summary>
554       <exception cref="T:System.ObjectDisposedException">The <see cref="T:Microsoft.Win32.RegistryKey" /> is closed (closed keys cannot be accessed).</exception>
555       <returns>The absolute (qualified) name of the key.</returns>
556     </member>
557     <member name="P:Microsoft.Win32.RegistryKey.SubKeyCount">
558       <summary>Retrieves the count of subkeys of the current key.</summary>
559       <exception cref="T:System.Security.SecurityException">The user does not have read permission for the key.</exception>
560       <exception cref="T:System.ObjectDisposedException">The <see cref="T:Microsoft.Win32.RegistryKey" /> being manipulated is closed (closed keys cannot be accessed).</exception>
561       <exception cref="T:System.UnauthorizedAccessException">The user does not have the necessary registry rights.</exception>
562       <exception cref="T:System.IO.IOException">A system error occurred, for example the current key has been deleted.</exception>
563       <returns>The number of subkeys of the current key.</returns>
564     </member>
565     <member name="P:Microsoft.Win32.RegistryKey.ValueCount">
566       <summary>Retrieves the count of values in the key.</summary>
567       <exception cref="T:System.Security.SecurityException">The user does not have read permission for the key.</exception>
568       <exception cref="T:System.ObjectDisposedException">The <see cref="T:Microsoft.Win32.RegistryKey" /> being manipulated is closed (closed keys cannot be accessed).</exception>
569       <exception cref="T:System.UnauthorizedAccessException">The user does not have the necessary registry rights.</exception>
570       <exception cref="T:System.IO.IOException">A system error occurred, for example the current key has been deleted.</exception>
571       <returns>The number of name/value pairs in the key.</returns>
572     </member>
573     <member name="P:Microsoft.Win32.RegistryKey.View">
574       <summary>Gets the view that was used to create the registry key.</summary>
575       <returns>The view that was used to create the registry key.  
576   
577  -or-  
578   
579  <see cref="F:Microsoft.Win32.RegistryView.Default" />, if no view was used.</returns>
580     </member>
581     <member name="T:Microsoft.Win32.RegistryKeyPermissionCheck">
582       <summary>Specifies whether security checks are performed when opening registry keys and accessing their name/value pairs.</summary>
583     </member>
584     <member name="F:Microsoft.Win32.RegistryKeyPermissionCheck.Default">
585       <summary>The registry key inherits the mode of its parent. Security checks are performed when trying to access subkeys or values, unless the parent was opened with <see cref="F:Microsoft.Win32.RegistryKeyPermissionCheck.ReadSubTree" /> or <see cref="F:Microsoft.Win32.RegistryKeyPermissionCheck.ReadWriteSubTree" /> mode.</summary>
586     </member>
587     <member name="F:Microsoft.Win32.RegistryKeyPermissionCheck.ReadSubTree">
588       <summary>Security checks are not performed when accessing subkeys or values. A security check is performed when trying to open the current key, unless the parent was opened with <see cref="F:Microsoft.Win32.RegistryKeyPermissionCheck.ReadSubTree" /> or <see cref="F:Microsoft.Win32.RegistryKeyPermissionCheck.ReadWriteSubTree" />.</summary>
589     </member>
590     <member name="F:Microsoft.Win32.RegistryKeyPermissionCheck.ReadWriteSubTree">
591       <summary>Security checks are not performed when accessing subkeys or values. A security check is performed when trying to open the current key, unless the parent was opened with <see cref="F:Microsoft.Win32.RegistryKeyPermissionCheck.ReadWriteSubTree" />.</summary>
592     </member>
593     <member name="T:Microsoft.Win32.RegistryOptions">
594       <summary>Specifies options to use when creating a registry key.</summary>
595     </member>
596     <member name="F:Microsoft.Win32.RegistryOptions.None">
597       <summary>A non-volatile key. This is the default.</summary>
598     </member>
599     <member name="F:Microsoft.Win32.RegistryOptions.Volatile">
600       <summary>A volatile key. The information is stored in memory and is not preserved when the corresponding registry hive is unloaded.</summary>
601     </member>
602     <member name="T:Microsoft.Win32.RegistryValueKind">
603       <summary>Specifies the data types to use when storing values in the registry, or identifies the data type of a value in the registry.</summary>
604     </member>
605     <member name="F:Microsoft.Win32.RegistryValueKind.Binary">
606       <summary>Binary data in any form. This value is equivalent to the Windows API registry data type REG_BINARY.</summary>
607     </member>
608     <member name="F:Microsoft.Win32.RegistryValueKind.DWord">
609       <summary>A 32-bit binary number. This value is equivalent to the Windows API registry data type REG_DWORD.</summary>
610     </member>
611     <member name="F:Microsoft.Win32.RegistryValueKind.ExpandString">
612       <summary>A null-terminated string that contains unexpanded references to environment variables, such as %PATH%, that are expanded when the value is retrieved. This value is equivalent to the Windows API registry data type REG_EXPAND_SZ.</summary>
613     </member>
614     <member name="F:Microsoft.Win32.RegistryValueKind.MultiString">
615       <summary>An array of null-terminated strings, terminated by two null characters. This value is equivalent to the Windows API registry data type REG_MULTI_SZ.</summary>
616     </member>
617     <member name="F:Microsoft.Win32.RegistryValueKind.None">
618       <summary>No data type.</summary>
619     </member>
620     <member name="F:Microsoft.Win32.RegistryValueKind.QWord">
621       <summary>A 64-bit binary number. This value is equivalent to the Windows API registry data type REG_QWORD.</summary>
622     </member>
623     <member name="F:Microsoft.Win32.RegistryValueKind.String">
624       <summary>A null-terminated string. This value is equivalent to the Windows API registry data type REG_SZ.</summary>
625     </member>
626     <member name="F:Microsoft.Win32.RegistryValueKind.Unknown">
627       <summary>An unsupported registry data type. For example, the Microsoft Windows API registry data type REG_RESOURCE_LIST is unsupported. Use this value to specify that the <see cref="M:Microsoft.Win32.RegistryKey.SetValue(System.String,System.Object)" /> method should determine the appropriate registry data type when storing a name/value pair.</summary>
628     </member>
629     <member name="T:Microsoft.Win32.RegistryValueOptions">
630       <summary>Specifies optional behavior when retrieving name/value pairs from a registry key.</summary>
631     </member>
632     <member name="F:Microsoft.Win32.RegistryValueOptions.DoNotExpandEnvironmentNames">
633       <summary>A value of type <see cref="F:Microsoft.Win32.RegistryValueKind.ExpandString" /> is retrieved without expanding its embedded environment variables.</summary>
634     </member>
635     <member name="F:Microsoft.Win32.RegistryValueOptions.None">
636       <summary>No optional behavior is specified.</summary>
637     </member>
638     <member name="T:Microsoft.Win32.RegistryView">
639       <summary>Specifies which registry view to target on a 64-bit operating system.</summary>
640     </member>
641     <member name="F:Microsoft.Win32.RegistryView.Default">
642       <summary>The default view.</summary>
643     </member>
644     <member name="F:Microsoft.Win32.RegistryView.Registry32">
645       <summary>The 32-bit view.</summary>
646     </member>
647     <member name="F:Microsoft.Win32.RegistryView.Registry64">
648       <summary>The 64-bit view.</summary>
649     </member>
650     <member name="T:Microsoft.Win32.SafeHandles.SafeRegistryHandle">
651       <summary>Represents a safe handle to the Windows registry.</summary>
652     </member>
653     <member name="M:Microsoft.Win32.SafeHandles.SafeRegistryHandle.#ctor">
654       <summary>Creates a <see cref="T:Microsoft.Win32.SafeHandles.SafeRegistryHandle" />.</summary>
655     </member>
656     <member name="M:Microsoft.Win32.SafeHandles.SafeRegistryHandle.#ctor(System.IntPtr,System.Boolean)">
657       <summary>Initializes a new instance of the <see cref="T:Microsoft.Win32.SafeHandles.SafeRegistryHandle" /> class.</summary>
658       <param name="preexistingHandle">An object that represents the pre-existing handle to use.</param>
659       <param name="ownsHandle">
660         <see langword="true" /> to reliably release the handle during the finalization phase; <see langword="false" /> to prevent reliable release.</param>
661     </member>
662     <member name="T:System.Security.AccessControl.RegistryAccessRule">
663       <summary>Represents a set of access rights allowed or denied for a user or group. This class cannot be inherited.</summary>
664     </member>
665     <member name="M:System.Security.AccessControl.RegistryAccessRule.#ctor(System.Security.Principal.IdentityReference,System.Security.AccessControl.RegistryRights,System.Security.AccessControl.AccessControlType)">
666       <summary>Initializes a new instance of the <see cref="T:System.Security.AccessControl.RegistryAccessRule" /> class, specifying the user or group the rule applies to, the access rights, and whether the specified access rights are allowed or denied.</summary>
667       <param name="identity">The user or group the rule applies to. Must be of type <see cref="T:System.Security.Principal.SecurityIdentifier" /> or a type such as <see cref="T:System.Security.Principal.NTAccount" /> that can be converted to type <see cref="T:System.Security.Principal.SecurityIdentifier" />.</param>
668       <param name="registryRights">A bitwise combination of <see cref="T:System.Security.AccessControl.RegistryRights" /> values indicating the rights allowed or denied.</param>
669       <param name="type">One of the <see cref="T:System.Security.AccessControl.AccessControlType" /> values indicating whether the rights are allowed or denied.</param>
670       <exception cref="T:System.ArgumentOutOfRangeException">
671         <paramref name="registryRights" /> specifies an invalid value.  
672   
673  -or-  
674   
675  <paramref name="type" /> specifies an invalid value.</exception>
676       <exception cref="T:System.ArgumentNullException">
677         <paramref name="identity" /> is <see langword="null" />.  
678   
679  -or-  
680   
681  <paramref name="eventRights" /> is zero.</exception>
682       <exception cref="T:System.ArgumentException">
683         <paramref name="identity" /> is neither of type <see cref="T:System.Security.Principal.SecurityIdentifier" /> nor of a type such as <see cref="T:System.Security.Principal.NTAccount" /> that can be converted to type <see cref="T:System.Security.Principal.SecurityIdentifier" />.</exception>
684     </member>
685     <member name="M:System.Security.AccessControl.RegistryAccessRule.#ctor(System.Security.Principal.IdentityReference,System.Security.AccessControl.RegistryRights,System.Security.AccessControl.InheritanceFlags,System.Security.AccessControl.PropagationFlags,System.Security.AccessControl.AccessControlType)">
686       <summary>Initializes a new instance of the <see cref="T:System.Security.AccessControl.RegistryAccessRule" /> class, specifying the user or group the rule applies to, the access rights, the inheritance flags, the propagation flags, and whether the specified access rights are allowed or denied.</summary>
687       <param name="identity">The user or group the rule applies to. Must be of type <see cref="T:System.Security.Principal.SecurityIdentifier" /> or a type such as <see cref="T:System.Security.Principal.NTAccount" /> that can be converted to type <see cref="T:System.Security.Principal.SecurityIdentifier" />.</param>
688       <param name="registryRights">A bitwise combination of <see cref="T:System.Security.AccessControl.RegistryRights" /> values specifying the rights allowed or denied.</param>
689       <param name="inheritanceFlags">A bitwise combination of <see cref="T:System.Security.AccessControl.InheritanceFlags" /> flags specifying how access rights are inherited from other objects.</param>
690       <param name="propagationFlags">A bitwise combination of <see cref="T:System.Security.AccessControl.PropagationFlags" /> flags specifying how access rights are propagated to other objects.</param>
691       <param name="type">One of the <see cref="T:System.Security.AccessControl.AccessControlType" /> values specifying whether the rights are allowed or denied.</param>
692       <exception cref="T:System.ArgumentOutOfRangeException">
693         <paramref name="registryRights" /> specifies an invalid value.  
694   
695  -or-  
696   
697  <paramref name="type" /> specifies an invalid value.  
698   
699  -or-  
700   
701  <paramref name="inheritanceFlags" /> specifies an invalid value.  
702   
703  -or-  
704   
705  <paramref name="propagationFlags" /> specifies an invalid value.</exception>
706       <exception cref="T:System.ArgumentNullException">
707         <paramref name="identity" /> is <see langword="null" />.  
708   
709  -or-  
710   
711  <paramref name="registryRights" /> is zero.</exception>
712       <exception cref="T:System.ArgumentException">
713         <paramref name="identity" /> is neither of type <see cref="T:System.Security.Principal.SecurityIdentifier" />, nor of a type such as <see cref="T:System.Security.Principal.NTAccount" /> that can be converted to type <see cref="T:System.Security.Principal.SecurityIdentifier" />.</exception>
714     </member>
715     <member name="M:System.Security.AccessControl.RegistryAccessRule.#ctor(System.String,System.Security.AccessControl.RegistryRights,System.Security.AccessControl.AccessControlType)">
716       <summary>Initializes a new instance of the <see cref="T:System.Security.AccessControl.RegistryAccessRule" /> class, specifying the name of the user or group the rule applies to, the access rights, and whether the specified access rights are allowed or denied.</summary>
717       <param name="identity">The name of the user or group the rule applies to.</param>
718       <param name="registryRights">A bitwise combination of <see cref="T:System.Security.AccessControl.RegistryRights" /> values indicating the rights allowed or denied.</param>
719       <param name="type">One of the <see cref="T:System.Security.AccessControl.AccessControlType" /> values indicating whether the rights are allowed or denied.</param>
720       <exception cref="T:System.ArgumentOutOfRangeException">
721         <paramref name="registryRights" /> specifies an invalid value.  
722   
723  -or-  
724   
725  <paramref name="type" /> specifies an invalid value.</exception>
726       <exception cref="T:System.ArgumentNullException">
727         <paramref name="registryRights" /> is zero.</exception>
728       <exception cref="T:System.ArgumentException">
729         <paramref name="identity" /> is <see langword="null" />.  
730   
731  -or-  
732   
733  <paramref name="identity" /> is a zero-length string.  
734   
735  -or-  
736   
737  <paramref name="identity" /> is longer than 512 characters.</exception>
738     </member>
739     <member name="M:System.Security.AccessControl.RegistryAccessRule.#ctor(System.String,System.Security.AccessControl.RegistryRights,System.Security.AccessControl.InheritanceFlags,System.Security.AccessControl.PropagationFlags,System.Security.AccessControl.AccessControlType)">
740       <summary>Initializes a new instance of the <see cref="T:System.Security.AccessControl.RegistryAccessRule" /> class, specifying the name of the user or group the rule applies to, the access rights, the inheritance flags, the propagation flags, and whether the specified access rights are allowed or denied.</summary>
741       <param name="identity">The name of the user or group the rule applies to.</param>
742       <param name="registryRights">A bitwise combination of <see cref="T:System.Security.AccessControl.RegistryRights" /> values indicating the rights allowed or denied.</param>
743       <param name="inheritanceFlags">A bitwise combination of <see cref="T:System.Security.AccessControl.InheritanceFlags" /> flags specifying how access rights are inherited from other objects.</param>
744       <param name="propagationFlags">A bitwise combination of <see cref="T:System.Security.AccessControl.PropagationFlags" /> flags specifying how access rights are propagated to other objects.</param>
745       <param name="type">One of the <see cref="T:System.Security.AccessControl.AccessControlType" /> values specifying whether the rights are allowed or denied.</param>
746       <exception cref="T:System.ArgumentOutOfRangeException">
747         <paramref name="registryRights" /> specifies an invalid value.  
748   
749  -or-  
750   
751  <paramref name="type" /> specifies an invalid value.  
752   
753  -or-  
754   
755  <paramref name="inheritanceFlags" /> specifies an invalid value.  
756   
757  -or-  
758   
759  <paramref name="propagationFlags" /> specifies an invalid value.</exception>
760       <exception cref="T:System.ArgumentNullException">
761         <paramref name="eventRights" /> is zero.</exception>
762       <exception cref="T:System.ArgumentException">
763         <paramref name="identity" /> is <see langword="null" />.  
764   
765  -or-  
766   
767  <paramref name="identity" /> is a zero-length string.  
768   
769  -or-  
770   
771  <paramref name="identity" /> is longer than 512 characters.</exception>
772     </member>
773     <member name="P:System.Security.AccessControl.RegistryAccessRule.RegistryRights">
774       <summary>Gets the rights allowed or denied by the access rule.</summary>
775       <returns>A bitwise combination of <see cref="T:System.Security.AccessControl.RegistryRights" /> values indicating the rights allowed or denied by the access rule.</returns>
776     </member>
777     <member name="T:System.Security.AccessControl.RegistryAuditRule">
778       <summary>Represents a set of access rights to be audited for a user or group. This class cannot be inherited.</summary>
779     </member>
780     <member name="M:System.Security.AccessControl.RegistryAuditRule.#ctor(System.Security.Principal.IdentityReference,System.Security.AccessControl.RegistryRights,System.Security.AccessControl.InheritanceFlags,System.Security.AccessControl.PropagationFlags,System.Security.AccessControl.AuditFlags)">
781       <summary>Initializes a new instance of the <see cref="T:System.Security.AccessControl.RegistryAuditRule" /> class, specifying the user or group to audit, the rights to audit, whether to take inheritance into account, and whether to audit success, failure, or both.</summary>
782       <param name="identity">The user or group the rule applies to. Must be of type <see cref="T:System.Security.Principal.SecurityIdentifier" /> or a type such as <see cref="T:System.Security.Principal.NTAccount" /> that can be converted to type <see cref="T:System.Security.Principal.SecurityIdentifier" />.</param>
783       <param name="registryRights">A bitwise combination of <see cref="T:System.Security.AccessControl.RegistryRights" /> values specifying the kinds of access to audit.</param>
784       <param name="inheritanceFlags">A bitwise combination of <see cref="T:System.Security.AccessControl.InheritanceFlags" /> values specifying whether the audit rule applies to subkeys of the current key.</param>
785       <param name="propagationFlags">A bitwise combination of <see cref="T:System.Security.AccessControl.PropagationFlags" /> values that affect the way an inherited audit rule is propagated to subkeys of the current key.</param>
786       <param name="flags">A bitwise combination of <see cref="T:System.Security.AccessControl.AuditFlags" /> values specifying whether to audit success, failure, or both.</param>
787       <exception cref="T:System.ArgumentOutOfRangeException">
788         <paramref name="eventRights" /> specifies an invalid value.  
789   
790  -or-  
791   
792  <paramref name="flags" /> specifies an invalid value.  
793   
794  -or-  
795   
796  <paramref name="inheritanceFlags" /> specifies an invalid value.  
797   
798  -or-  
799   
800  <paramref name="propagationFlags" /> specifies an invalid value.</exception>
801       <exception cref="T:System.ArgumentNullException">
802         <paramref name="identity" /> is <see langword="null" />.  
803   
804  -or-  
805   
806  <paramref name="registryRights" /> is zero.</exception>
807       <exception cref="T:System.ArgumentException">
808         <paramref name="identity" /> is neither of type <see cref="T:System.Security.Principal.SecurityIdentifier" /> nor of a type such as <see cref="T:System.Security.Principal.NTAccount" /> that can be converted to type <see cref="T:System.Security.Principal.SecurityIdentifier" />.</exception>
809     </member>
810     <member name="M:System.Security.AccessControl.RegistryAuditRule.#ctor(System.String,System.Security.AccessControl.RegistryRights,System.Security.AccessControl.InheritanceFlags,System.Security.AccessControl.PropagationFlags,System.Security.AccessControl.AuditFlags)">
811       <summary>Initializes a new instance of the <see cref="T:System.Security.AccessControl.RegistryAuditRule" /> class, specifying the name of the user or group to audit, the rights to audit, whether to take inheritance into account, and whether to audit success, failure, or both.</summary>
812       <param name="identity">The name of the user or group the rule applies to.</param>
813       <param name="registryRights">A bitwise combination of <see cref="T:System.Security.AccessControl.RegistryRights" /> values specifying the kinds of access to audit.</param>
814       <param name="inheritanceFlags">A combination of <see cref="T:System.Security.AccessControl.InheritanceFlags" /> flags that specifies whether the audit rule applies to subkeys of the current key.</param>
815       <param name="propagationFlags">A combination of <see cref="T:System.Security.AccessControl.PropagationFlags" /> flags that affect the way an inherited audit rule is propagated to subkeys of the current key.</param>
816       <param name="flags">A bitwise combination of <see cref="T:System.Security.AccessControl.AuditFlags" /> values specifying whether to audit success, failure, or both.</param>
817       <exception cref="T:System.ArgumentOutOfRangeException">
818         <paramref name="eventRights" /> specifies an invalid value.  
819   
820  -or-  
821   
822  <paramref name="flags" /> specifies an invalid value.  
823   
824  -or-  
825   
826  <paramref name="inheritanceFlags" /> specifies an invalid value.  
827   
828  -or-  
829   
830  <paramref name="propagationFlags" /> specifies an invalid value.</exception>
831       <exception cref="T:System.ArgumentNullException">
832         <paramref name="registryRights" /> is zero.</exception>
833       <exception cref="T:System.ArgumentException">
834         <paramref name="identity" /> is <see langword="null" />.  
835   
836  -or-  
837   
838  <paramref name="identity" /> is a zero-length string.  
839   
840  -or-  
841   
842  <paramref name="identity" /> is longer than 512 characters.</exception>
843     </member>
844     <member name="P:System.Security.AccessControl.RegistryAuditRule.RegistryRights">
845       <summary>Gets the access rights affected by the audit rule.</summary>
846       <returns>A bitwise combination of <see cref="T:System.Security.AccessControl.RegistryRights" /> values that indicates the rights affected by the audit rule.</returns>
847     </member>
848     <member name="T:System.Security.AccessControl.RegistryRights">
849       <summary>Specifies the access control rights that can be applied to registry objects.</summary>
850     </member>
851     <member name="F:System.Security.AccessControl.RegistryRights.ChangePermissions">
852       <summary>The right to change the access rules and audit rules associated with a registry key.</summary>
853     </member>
854     <member name="F:System.Security.AccessControl.RegistryRights.CreateLink">
855       <summary>Reserved for system use.</summary>
856     </member>
857     <member name="F:System.Security.AccessControl.RegistryRights.CreateSubKey">
858       <summary>The right to create subkeys of a registry key.</summary>
859     </member>
860     <member name="F:System.Security.AccessControl.RegistryRights.Delete">
861       <summary>The right to delete a registry key.</summary>
862     </member>
863     <member name="F:System.Security.AccessControl.RegistryRights.EnumerateSubKeys">
864       <summary>The right to list the subkeys of a registry key.</summary>
865     </member>
866     <member name="F:System.Security.AccessControl.RegistryRights.ExecuteKey">
867       <summary>Same as <see cref="F:System.Security.AccessControl.RegistryRights.ReadKey" />.</summary>
868     </member>
869     <member name="F:System.Security.AccessControl.RegistryRights.FullControl">
870       <summary>The right to exert full control over a registry key, and to modify its access rules and audit rules.</summary>
871     </member>
872     <member name="F:System.Security.AccessControl.RegistryRights.Notify">
873       <summary>The right to request notification of changes on a registry key.</summary>
874     </member>
875     <member name="F:System.Security.AccessControl.RegistryRights.QueryValues">
876       <summary>The right to query the name/value pairs in a registry key.</summary>
877     </member>
878     <member name="F:System.Security.AccessControl.RegistryRights.ReadKey">
879       <summary>The right to query the name/value pairs in a registry key, to request notification of changes, to enumerate its subkeys, and to read its access rules and audit rules.</summary>
880     </member>
881     <member name="F:System.Security.AccessControl.RegistryRights.ReadPermissions">
882       <summary>The right to open and copy the access rules and audit rules for a registry key.</summary>
883     </member>
884     <member name="F:System.Security.AccessControl.RegistryRights.SetValue">
885       <summary>The right to create, delete, or set name/value pairs in a registry key.</summary>
886     </member>
887     <member name="F:System.Security.AccessControl.RegistryRights.TakeOwnership">
888       <summary>The right to change the owner of a registry key.</summary>
889     </member>
890     <member name="F:System.Security.AccessControl.RegistryRights.WriteKey">
891       <summary>The right to create, delete, and set the name/value pairs in a registry key, to create or delete subkeys, to request notification of changes, to enumerate its subkeys, and to read its access rules and audit rules.</summary>
892     </member>
893     <member name="T:System.Security.AccessControl.RegistrySecurity">
894       <summary>Represents the Windows access control security for a registry key. This class cannot be inherited.</summary>
895     </member>
896     <member name="M:System.Security.AccessControl.RegistrySecurity.#ctor">
897       <summary>Initializes a new instance of the <see cref="T:System.Security.AccessControl.RegistrySecurity" /> class with default values.</summary>
898     </member>
899     <member name="M:System.Security.AccessControl.RegistrySecurity.AccessRuleFactory(System.Security.Principal.IdentityReference,System.Int32,System.Boolean,System.Security.AccessControl.InheritanceFlags,System.Security.AccessControl.PropagationFlags,System.Security.AccessControl.AccessControlType)">
900       <summary>Creates a new access control rule for the specified user, with the specified access rights, access control, and flags.</summary>
901       <param name="identityReference">An <see cref="T:System.Security.Principal.IdentityReference" /> that identifies the user or group the rule applies to.</param>
902       <param name="accessMask">A bitwise combination of <see cref="T:System.Security.AccessControl.RegistryRights" /> values specifying the access rights to allow or deny, cast to an integer.</param>
903       <param name="isInherited">A Boolean value specifying whether the rule is inherited.</param>
904       <param name="inheritanceFlags">A bitwise combination of <see cref="T:System.Security.AccessControl.InheritanceFlags" /> values specifying how the rule is inherited by subkeys.</param>
905       <param name="propagationFlags">A bitwise combination of <see cref="T:System.Security.AccessControl.PropagationFlags" /> values that modify the way the rule is inherited by subkeys. Meaningless if the value of <paramref name="inheritanceFlags" /> is <see cref="F:System.Security.AccessControl.InheritanceFlags.None" />.</param>
906       <param name="type">One of the <see cref="T:System.Security.AccessControl.AccessControlType" /> values specifying whether the rights are allowed or denied.</param>
907       <exception cref="T:System.ArgumentOutOfRangeException">
908         <paramref name="accessMask" />, <paramref name="inheritanceFlags" />, <paramref name="propagationFlags" />, or <paramref name="type" /> specifies an invalid value.</exception>
909       <exception cref="T:System.ArgumentNullException">
910         <paramref name="identityReference" /> is <see langword="null" />.  
911   
912  -or-  
913   
914  <paramref name="accessMask" /> is zero.</exception>
915       <exception cref="T:System.ArgumentException">
916         <paramref name="identityReference" /> is neither of type <see cref="T:System.Security.Principal.SecurityIdentifier" />, nor of a type such as <see cref="T:System.Security.Principal.NTAccount" /> that can be converted to type <see cref="T:System.Security.Principal.SecurityIdentifier" />.</exception>
917       <returns>A <see cref="T:System.Security.AccessControl.RegistryAccessRule" /> object representing the specified rights for the specified user.</returns>
918     </member>
919     <member name="M:System.Security.AccessControl.RegistrySecurity.AddAccessRule(System.Security.AccessControl.RegistryAccessRule)">
920       <summary>Searches for a matching access control with which the new rule can be merged. If none are found, adds the new rule.</summary>
921       <param name="rule">The access control rule to add.</param>
922       <exception cref="T:System.ArgumentNullException">
923         <paramref name="rule" /> is <see langword="null" />.</exception>
924     </member>
925     <member name="M:System.Security.AccessControl.RegistrySecurity.AddAuditRule(System.Security.AccessControl.RegistryAuditRule)">
926       <summary>Searches for an audit rule with which the new rule can be merged. If none are found, adds the new rule.</summary>
927       <param name="rule">The audit rule to add. The user specified by this rule determines the search.</param>
928     </member>
929     <member name="M:System.Security.AccessControl.RegistrySecurity.AuditRuleFactory(System.Security.Principal.IdentityReference,System.Int32,System.Boolean,System.Security.AccessControl.InheritanceFlags,System.Security.AccessControl.PropagationFlags,System.Security.AccessControl.AuditFlags)">
930       <summary>Creates a new audit rule, specifying the user the rule applies to, the access rights to audit, the inheritance and propagation of the rule, and the outcome that triggers the rule.</summary>
931       <param name="identityReference">An <see cref="T:System.Security.Principal.IdentityReference" /> that identifies the user or group the rule applies to.</param>
932       <param name="accessMask">A bitwise combination of <see cref="T:System.Security.AccessControl.RegistryRights" /> values specifying the access rights to audit, cast to an integer.</param>
933       <param name="isInherited">A Boolean value specifying whether the rule is inherited.</param>
934       <param name="inheritanceFlags">A bitwise combination of <see cref="T:System.Security.AccessControl.InheritanceFlags" /> values specifying how the rule is inherited by subkeys.</param>
935       <param name="propagationFlags">A bitwise combination of <see cref="T:System.Security.AccessControl.PropagationFlags" /> values that modify the way the rule is inherited by subkeys. Meaningless if the value of <paramref name="inheritanceFlags" /> is <see cref="F:System.Security.AccessControl.InheritanceFlags.None" />.</param>
936       <param name="flags">A bitwise combination of <see cref="T:System.Security.AccessControl.AuditFlags" /> values specifying whether to audit successful access, failed access, or both.</param>
937       <exception cref="T:System.ArgumentOutOfRangeException">
938         <paramref name="accessMask" />, <paramref name="inheritanceFlags" />, <paramref name="propagationFlags" />, or <paramref name="flags" /> specifies an invalid value.</exception>
939       <exception cref="T:System.ArgumentNullException">
940         <paramref name="identityReference" /> is <see langword="null" />.  
941   
942  -or-  
943   
944  <paramref name="accessMask" /> is zero.</exception>
945       <exception cref="T:System.ArgumentException">
946         <paramref name="identityReference" /> is neither of type <see cref="T:System.Security.Principal.SecurityIdentifier" />, nor of a type such as <see cref="T:System.Security.Principal.NTAccount" /> that can be converted to type <see cref="T:System.Security.Principal.SecurityIdentifier" />.</exception>
947       <returns>A <see cref="T:System.Security.AccessControl.RegistryAuditRule" /> object representing the specified audit rule for the specified user, with the specified flags. The return type of the method is the base class, <see cref="T:System.Security.AccessControl.AuditRule" />, but the return value can be cast safely to the derived class.</returns>
948     </member>
949     <member name="M:System.Security.AccessControl.RegistrySecurity.RemoveAccessRule(System.Security.AccessControl.RegistryAccessRule)">
950       <summary>Searches for an access control rule with the same user and <see cref="T:System.Security.AccessControl.AccessControlType" /> (allow or deny) as the specified access rule, and with compatible inheritance and propagation flags; if such a rule is found, the rights contained in the specified access rule are removed from it.</summary>
951       <param name="rule">A <see cref="T:System.Security.AccessControl.RegistryAccessRule" /> that specifies the user and <see cref="T:System.Security.AccessControl.AccessControlType" /> to search for, and a set of inheritance and propagation flags that a matching rule, if found, must be compatible with. Specifies the rights to remove from the compatible rule, if found.</param>
952       <exception cref="T:System.ArgumentNullException">
953         <paramref name="rule" /> is <see langword="null" />.</exception>
954       <returns>
955         <see langword="true" /> if a compatible rule is found; otherwise <see langword="false" />.</returns>
956     </member>
957     <member name="M:System.Security.AccessControl.RegistrySecurity.RemoveAccessRuleAll(System.Security.AccessControl.RegistryAccessRule)">
958       <summary>Searches for all access control rules with the same user and <see cref="T:System.Security.AccessControl.AccessControlType" /> (allow or deny) as the specified rule and, if found, removes them.</summary>
959       <param name="rule">A <see cref="T:System.Security.AccessControl.RegistryAccessRule" /> that specifies the user and <see cref="T:System.Security.AccessControl.AccessControlType" /> to search for. Any rights, inheritance flags, or propagation flags specified by this rule are ignored.</param>
960       <exception cref="T:System.ArgumentNullException">
961         <paramref name="rule" /> is <see langword="null" />.</exception>
962     </member>
963     <member name="M:System.Security.AccessControl.RegistrySecurity.RemoveAccessRuleSpecific(System.Security.AccessControl.RegistryAccessRule)">
964       <summary>Searches for an access control rule that exactly matches the specified rule and, if found, removes it.</summary>
965       <param name="rule">The <see cref="T:System.Security.AccessControl.RegistryAccessRule" /> to remove.</param>
966       <exception cref="T:System.ArgumentNullException">
967         <paramref name="rule" /> is <see langword="null" />.</exception>
968     </member>
969     <member name="M:System.Security.AccessControl.RegistrySecurity.RemoveAuditRule(System.Security.AccessControl.RegistryAuditRule)">
970       <summary>Searches for an audit control rule with the same user as the specified rule, and with compatible inheritance and propagation flags; if a compatible rule is found, the rights contained in the specified rule are removed from it.</summary>
971       <param name="rule">A <see cref="T:System.Security.AccessControl.RegistryAuditRule" /> that specifies the user to search for, and a set of inheritance and propagation flags that a matching rule, if found, must be compatible with. Specifies the rights to remove from the compatible rule, if found.</param>
972       <exception cref="T:System.ArgumentNullException">
973         <paramref name="rule" /> is <see langword="null" />.</exception>
974       <returns>
975         <see langword="true" /> if a compatible rule is found; otherwise, <see langword="false" />.</returns>
976     </member>
977     <member name="M:System.Security.AccessControl.RegistrySecurity.RemoveAuditRuleAll(System.Security.AccessControl.RegistryAuditRule)">
978       <summary>Searches for all audit rules with the same user as the specified rule and, if found, removes them.</summary>
979       <param name="rule">A <see cref="T:System.Security.AccessControl.RegistryAuditRule" /> that specifies the user to search for. Any rights, inheritance flags, or propagation flags specified by this rule are ignored.</param>
980       <exception cref="T:System.ArgumentNullException">
981         <paramref name="rule" /> is <see langword="null" />.</exception>
982     </member>
983     <member name="M:System.Security.AccessControl.RegistrySecurity.RemoveAuditRuleSpecific(System.Security.AccessControl.RegistryAuditRule)">
984       <summary>Searches for an audit rule that exactly matches the specified rule and, if found, removes it.</summary>
985       <param name="rule">The <see cref="T:System.Security.AccessControl.RegistryAuditRule" /> to be removed.</param>
986       <exception cref="T:System.ArgumentNullException">
987         <paramref name="rule" /> is <see langword="null" />.</exception>
988     </member>
989     <member name="M:System.Security.AccessControl.RegistrySecurity.ResetAccessRule(System.Security.AccessControl.RegistryAccessRule)">
990       <summary>Removes all access control rules with the same user as the specified rule, regardless of <see cref="T:System.Security.AccessControl.AccessControlType" />, and then adds the specified rule.</summary>
991       <param name="rule">The <see cref="T:System.Security.AccessControl.RegistryAccessRule" /> to add. The user specified by this rule determines the rules to remove before this rule is added.</param>
992     </member>
993     <member name="M:System.Security.AccessControl.RegistrySecurity.SetAccessRule(System.Security.AccessControl.RegistryAccessRule)">
994       <summary>Removes all access control rules with the same user and <see cref="T:System.Security.AccessControl.AccessControlType" /> (allow or deny) as the specified rule, and then adds the specified rule.</summary>
995       <param name="rule">The <see cref="T:System.Security.AccessControl.RegistryAccessRule" /> to add. The user and <see cref="T:System.Security.AccessControl.AccessControlType" /> of this rule determine the rules to remove before this rule is added.</param>
996       <exception cref="T:System.ArgumentNullException">
997         <paramref name="rule" /> is <see langword="null" />.</exception>
998     </member>
999     <member name="M:System.Security.AccessControl.RegistrySecurity.SetAuditRule(System.Security.AccessControl.RegistryAuditRule)">
1000       <summary>Removes all audit rules with the same user as the specified rule, regardless of the <see cref="T:System.Security.AccessControl.AuditFlags" /> value, and then adds the specified rule.</summary>
1001       <param name="rule">The <see cref="T:System.Security.AccessControl.RegistryAuditRule" /> to add. The user specified by this rule determines the rules to remove before this rule is added.</param>
1002       <exception cref="T:System.ArgumentNullException">
1003         <paramref name="rule" /> is <see langword="null" />.</exception>
1004     </member>
1005     <member name="P:System.Security.AccessControl.RegistrySecurity.AccessRightType">
1006       <summary>Gets the enumeration type that the <see cref="T:System.Security.AccessControl.RegistrySecurity" /> class uses to represent access rights.</summary>
1007       <returns>A <see cref="T:System.Type" /> object representing the <see cref="T:System.Security.AccessControl.RegistryRights" /> enumeration.</returns>
1008     </member>
1009     <member name="P:System.Security.AccessControl.RegistrySecurity.AccessRuleType">
1010       <summary>Gets the type that the <see cref="T:System.Security.AccessControl.RegistrySecurity" /> class uses to represent access rules.</summary>
1011       <returns>A <see cref="T:System.Type" /> object representing the <see cref="T:System.Security.AccessControl.RegistryAccessRule" /> class.</returns>
1012     </member>
1013     <member name="P:System.Security.AccessControl.RegistrySecurity.AuditRuleType">
1014       <summary>Gets the type that the <see cref="T:System.Security.AccessControl.RegistrySecurity" /> class uses to represent audit rules.</summary>
1015       <returns>A <see cref="T:System.Type" /> object representing the <see cref="T:System.Security.AccessControl.RegistryAuditRule" /> class.</returns>
1016     </member>
1017   </members>
1018 </doc>