1<?xml version="1.0" encoding="utf-8"?>
2<Type Name="Boolean" FullName="System.Boolean" FullNameSP="System_Boolean" Maintainer="ecma">
3  <TypeSignature Language="ILASM" Value=".class public sequential sealed serializable Boolean extends System.ValueType implements System.IComparable" />
4  <TypeSignature Language="C#" Value="public struct Boolean : IComparable, IComparable&lt;bool&gt;, IConvertible, IEquatable&lt;bool&gt;" />
5  <TypeSignature Language="ILAsm" Value=".class public sequential ansi serializable sealed beforefieldinit bool extends System.ValueType implements class System.IComparable, class System.IComparable`1&lt;bool&gt;, class System.IConvertible, class System.IEquatable`1&lt;bool&gt;" />
6  <MemberOfLibrary>BCL</MemberOfLibrary>
7  <AssemblyInfo>
8    <AssemblyName>mscorlib</AssemblyName>
9    <AssemblyPublicKey>[00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00 ]</AssemblyPublicKey>
10    <AssemblyVersion>1.0.5000.0</AssemblyVersion>
11    <AssemblyVersion>2.0.0.0</AssemblyVersion>
12    <AssemblyVersion>4.0.0.0</AssemblyVersion>
13  </AssemblyInfo>
14  <ThreadingSafetyStatement>This type is safe for multithreaded operations. </ThreadingSafetyStatement>
15  <Base>
16    <BaseTypeName>System.ValueType</BaseTypeName>
17  </Base>
18  <Interfaces>
19    <Interface>
20      <InterfaceName>System.IComparable</InterfaceName>
21    </Interface>
22    <Interface>
23      <InterfaceName>System.IComparable&lt;System.Boolean&gt;</InterfaceName>
24    </Interface>
25    <Interface>
26      <InterfaceName>System.IConvertible</InterfaceName>
27    </Interface>
28    <Interface>
29      <InterfaceName>System.IEquatable&lt;System.Boolean&gt;</InterfaceName>
30    </Interface>
31  </Interfaces>
32  <Attributes>
33    <Attribute>
34      <AttributeName>System.Runtime.InteropServices.ComVisible(true)</AttributeName>
35    </Attribute>
36  </Attributes>
37  <Docs>
38    <remarks>
39      <attribution license="cc4" from="Microsoft" modified="false" />
40      <para>A <see cref="T:System.Boolean" /> instance can have either of two values: true, or false.</para>
41      <para>The <see cref="T:System.Boolean" /> structure provides methods that support the following tasks: </para>
42      <list type="bullet">
43        <item>
44          <para>Converting Boolean values to strings: <see cref="M:System.Boolean.ToString" /></para>
45        </item>
46        <item>
47          <para>Parsing strings to convert them to Boolean values: <see cref="M:System.Boolean.Parse(System.String)" /> and <see cref="M:System.Boolean.TryParse(System.String,System.Boolean@)" /></para>
48        </item>
49        <item>
50          <para>Comparing values: <see cref="M:System.Boolean.CompareTo(System.Boolean)" /> and <see cref="M:System.Boolean.Equals(System.Boolean)" /></para>
51        </item>
52      </list>
53      <para>The following sections explain these tasks and other usage details:</para>
54      <para>
55        <format type="text/html">
56          <a href="#Formatting">Formatting Boolean values</a>
57        </format>
58        <br />
59<format type="text/html"><a href="#Converting">Converting to and from Boolean values</a></format><br />
60<format type="text/html"><a href="#Parsing">Parsing Boolean values</a></format><br />
61<format type="text/html"><a href="#Comparing">Comparing Boolean values</a></format><br />
62<format type="text/html"><a href="#Binary">Working with Booleans as binary values</a></format><br />
63<format type="text/html"><a href="#Operations">Performing operations with Boolean values</a></format><br />
64</para>
65      <format type="text/html">
66        <a href="#Formatting" />
67      </format>
68      <format type="text/html">
69        <h2>Formatting Boolean values</h2>
70      </format>
71      <para>The string representation of a <see cref="T:System.Boolean" /> is either "True" for a true value or "False" for a false value. The string representation of a <see cref="T:System.Boolean" /> value is defined by the read-only <see cref="F:System.Boolean.TrueString" /> and <see cref="F:System.Boolean.FalseString" /> fields. </para>
72      <para>You use the <see cref="M:System.Boolean.ToString" /> method to convert Boolean values to strings. The Boolean structure includes two <see cref="M:System.Boolean.ToString" /> overloads: the parameterless <see cref="M:System.Boolean.ToString" /> method and the <see cref="M:System.Boolean.ToString(System.IFormatProvider)" /> method, which includes a parameter that controls formatting. However, because this parameter is ignored, the two overloads produce identical strings. The <see cref="M:System.Boolean.ToString(System.IFormatProvider)" /> method does not support culture-sensitive formatting. </para>
73      <para>The following example illustrates formatting with the <see cref="M:System.Boolean.ToString" /> method. Note that the example uses the <format type="text/html"><a href="87b7d528-73f6-43c6-b71a-f23043039a49">composite formatting</a></format> feature, so the <see cref="M:System.Boolean.ToString" /> method is called implicitly. </para>
74      <para>code reference: System.Boolean.Structure#3</para>
75      <para>Because the <see cref="T:System.Boolean" /> structure can have only two values, it is easy to add custom formatting. For simple custom formatting in which other string literals are substituted for "True" and "False", you can use any conditional evaluation feature supported by your language, such as the <format type="text/html"><a href="e83a17f1-7500-48ba-8bee-2fbc4c847af4">conditional operator</a></format> in C# or the <format type="text/html"><a href="dd56c9df-7cd4-442c-9ba6-20c70ee44c8f">If operator</a></format>  in Visual Basic. The following example uses this technique to format <see cref="T:System.Boolean" /> values as "Yes" and "No" rather than "True" and "False". </para>
76      <para>code reference: System.Boolean.Structure#4</para>
77      <para>For more complex custom formatting operations, including culture-sensitive formatting, you can call the <see cref="M:System.String.Format(System.IFormatProvider,System.String,System.Object[])" /> method and provide an <see cref="T:System.ICustomFormatter" /> implementation. The following example implements the <see cref="T:System.ICustomFormatter" /> and <see cref="T:System.IFormatProvider" /> interfaces to provide culture-sensitive Boolean strings for the English (United States), French (France), and Russian (Russia) cultures. </para>
78      <para>code reference: System.Boolean.Structure#5</para>
79      <para>Optionally, you can use <format type="text/html"><a href="8ad495d4-2941-40cf-bf64-e82e85825890">resource files</a></format> to define culture-specific Boolean strings.</para>
80      <format type="text/html">
81        <a href="#Converting" />
82      </format>
83      <format type="text/html">
84        <h2>Converting to and from Boolean values</h2>
85      </format>
86      <para>The <see cref="T:System.Boolean" /> structure implements the <see cref="T:System.IConvertible" /> interface.  As a result, you can use the <see cref="T:System.Convert" /> class to perform conversions between a <see cref="T:System.Boolean" /> value and any other primitive type in the .NET Framework, or you can call the <see cref="T:System.Boolean" /> structure's explicit implementations. However, conversions between a <see cref="T:System.Boolean" /> and the following types are not supported, so the corresponding conversion methods throw an <see cref="T:System.InvalidCastException" /> exception: </para>
87      <list type="bullet">
88        <item>
89          <para>Conversion between <see cref="T:System.Boolean" /> and <see cref="T:System.Char" /> (the <see cref="M:System.Convert.ToBoolean(System.Char)" /> and <see cref="M:System.Convert.ToChar(System.Boolean)" /> methods) </para>
90        </item>
91        <item>
92          <para>Conversion between <see cref="T:System.Boolean" /> and <see cref="T:System.DateTime" /> (the <see cref="M:System.Convert.ToBoolean(System.DateTime)" /> and <see cref="M:System.Convert.ToDateTime(System.Boolean)" /> methods) </para>
93        </item>
94      </list>
95      <para>All conversions from integral or floating-point numbers to Boolean values convert non-zero values to true and zero values to false.  The following example illustrates this by calling selected overloads of the <see cref="M:System.Convert.ToBoolean(System.Int64)" /> class. </para>
96      <para>code reference: System.Boolean.Structure#6</para>
97      <para>When converting from floating-point values to Boolean values, the conversion methods perform an exact comparison with zero. If the floating-point value has lost precision, the result can be unexpected. This is illustrated in the following example, in which a <see cref="T:System.Double" /> variable whose value should be zero is converted to a Boolean value. As the example shows, the result is true because repeated additions of 0.2 have resulted in a loss of precision. </para>
98      <para>When converting from Boolean to numeric values, the conversion methods of the <see cref="T:System.Convert" /> class convert true to 1 and false to 0. However, Visual Basic conversion functions convert true to either 255 (for conversions to <see cref="T:System.Byte" /> values) or -1 (for all other numeric conversions). The following example converts true to numeric values by using a <see cref="T:System.Convert" /> method, and, in the case of the Visual Basic example, by using the Visual Basic language's own conversion operator. </para>
99      <para>code reference: System.Boolean.Structure#8</para>
100      <para>For conversions from <see cref="T:System.Boolean" /> to string values, see the <format type="text/html"><a href="#Formatting">Formatting Boolean Values</a></format> section. For conversions from strings to <see cref="T:System.Boolean" /> values, see the <format type="text/html"><a href="#Parsing">Parsing Boolean Values</a></format> section. </para>
101      <format type="text/html">
102        <a href="#Parsing" />
103      </format>
104      <format type="text/html">
105        <h2>Parsing Boolean values</h2>
106      </format>
107      <para>The <see cref="T:System.Boolean" /> structure includes two static parsing methods, <see cref="M:System.Boolean.Parse(System.String)" /> and <see cref="M:System.Boolean.TryParse(System.String,System.Boolean@)" />, that convert a string to a Boolean value. The string representation of a Boolean value is defined by the case-insensitive equivalents of the values of the <see cref="F:System.Boolean.TrueString" /> and <see cref="F:System.Boolean.FalseString" /> fields, which are "True" and "False", respectively. In other words, the only strings that parse successfully are "True", "False", "true", "false", or some mixed-case equivalent. You cannot successfully parse numeric strings such as "0" or "1". Leading or trailing white-space characters are not considered when performing the string comparison.</para>
108      <para>The following example uses the <see cref="M:System.Boolean.Parse(System.String)" /> and <see cref="M:System.Boolean.TryParse(System.String,System.Boolean@)" /> methods to parse a number of strings. Note that only the case-insensitive equivalents of "True" and "False" can be successfully parsed. </para>
109      <para>code reference: System.Boolean.Structure#2</para>
110      <para>If you are programming in Visual Basic, you can use the CBool function to convert the string representation of a number to a Boolean value. "0" is converted to false, and the string representation of any non-zero value is converted to true. If you are not programming in Visual Basic, you must convert your numeric string to a number before converting it to a Boolean. The following example illustrates this by converting an array of integers to Boolean values. </para>
111      <para>code reference: System.Boolean.Structure#9</para>
112      <format type="text/html">
113        <a href="#Comparing" />
114      </format>
115      <format type="text/html">
116        <h2>Comparing Boolean values</h2>
117      </format>
118      <para>Because Boolean values are either true or false, there is little reason to explicitly call the <see cref="M:System.Boolean.CompareTo(System.Boolean)" /> method, which indicates whether an instance is greater than, less than, or equal to a specified value. Typically, to compare two Boolean variables, you call the <see cref="M:System.Boolean.Equals(System.Boolean)" /> method or use your language's equality operator. </para>
119      <para>However, when you want to compare a Boolean variable with the literal Boolean value true or false, it is not necessary to do an explicit comparison, because the result of evaluating a Boolean value is that Boolean value. For example, the expressions</para>
120      <para>code reference: System.Boolean.Structure#12</para>
121      <para>and</para>
122      <para>code reference: System.Boolean.Structure#13</para>
123      <para>are equivalent, but the second is more compact. However, both techniques offer comparable performance.  </para>
124      <format type="text/html">
125        <a href="#Binary" />
126      </format>
127      <format type="text/html">
128        <h2>Working with Booleans as binary values</h2>
129      </format>
130      <para>A Boolean value occupies one byte of memory. The byte's low-order bit is used to represent its value. A value of 1 represents true; a value of 0 represents false. </para>
131      <block subset="none" type="note">
132        <para>You can use the <see cref="T:System.Collections.Specialized.BitVector32" /> structure to work with sets of Boolean values. </para>
133      </block>
134      <para>You can convert a Boolean value to its binary representation by calling the <see cref="M:System.BitConverter.GetBytes(System.Boolean)" /> method. The method returns a byte array with a single element. To restore a Boolean value from its binary representation, you can call the <see cref="M:System.BitConverter.ToBoolean(System.Byte[],System.Int32)" /> method. </para>
135      <para>The following example calls the <see cref="M:System.BitConverter.GetBytes(System.Boolean)" /> method to convert a Boolean value to its binary representation and displays the individual bits of the value, and then calls the <see cref="M:System.BitConverter.ToBoolean(System.Byte[],System.Int32)" /> method to restore the value from its binary representation. </para>
136      <para>code reference: System.Boolean.Structure#1</para>
137      <format type="text/html">
138        <a href="#Operations" />
139      </format>
140      <format type="text/html">
141        <h2>Performing operations with Boolean values</h2>
142      </format>
143      <para>This section illustrates how Boolean values are used in apps. The first section discusses its use as a flag. The second illustrates its use for arithmetic operations. </para>
144      <format type="text/html">
145        <h2>Boolean values as flags</h2>
146      </format>
147      <para>Boolean variables are most commonly used as flags, to signal the presence or absence of some condition. For example, in the <see cref="M:System.String.Compare(System.String,System.String,System.Boolean)" /> method, the final parameter, <paramref name="ignoreCase" />, is a flag that indicates whether the comparison of two strings is case-insensitive (<paramref name="ignoreCase" /> is true) or case-sensitive (<paramref name="ignoreCase" /> is false). The value of the flag can then be evaluated in a conditional statement.</para>
148      <para>The following example uses a simple console app to illustrate the use of Boolean variables as flags. The app accepts command-line parameters that enable output to be redirected to a specified file (the /f switch), and that enable output to be sent both to a specified file and to the console (the /b switch). The app defines a flag named isRedirected to indicate whether output is to be sent to a file, and a flag named isBoth to indicate that output should be sent to the console. </para>
149      <para>code reference: System.Boolean.Structure#10</para>
150      <format type="text/html">
151        <h2>Booleans and arithmetic operations</h2>
152      </format>
153      <para>A Boolean value is sometimes used to indicate the presence of a condition that triggers a mathematical calculation. For example, a hasShippingCharge variable might serve as a flag to indicate whether to add shipping charges to an invoice amount. </para>
154      <para>Because an operation with a false value has no effect on the result of an operation, it is not necessary to convert the Boolean to an integral value to use in the mathematical operation. Instead, you can use conditional logic. </para>
155      <para>The following example computes an amount that consists of a subtotal, a shipping charge, and an optional service charge. The hasServiceCharge variable determines whether the service charge is applied. Instead of converting hasServiceCharge to a numeric value and multiplying it by the amount of the service charge, the example uses conditional logic to add the service charge amount if it is applicable. </para>
156      <para>code reference: System.Boolean.Structure#13</para>
157    </remarks>
158    <summary>
159      <attribution license="cc4" from="Microsoft" modified="false" />
160      <para>Represents a Boolean (true or false) value.</para>
161    </summary>
162  </Docs>
163  <Members>
164    <Member MemberName="CompareTo">
165      <MemberSignature Language="C#" Value="public int CompareTo (bool value);" />
166      <MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance int32 CompareTo(bool value) cil managed" />
167      <MemberType>Method</MemberType>
168      <AssemblyInfo>
169        <AssemblyVersion>2.0.0.0</AssemblyVersion>
170        <AssemblyVersion>4.0.0.0</AssemblyVersion>
171      </AssemblyInfo>
172      <ReturnValue>
173        <ReturnType>System.Int32</ReturnType>
174      </ReturnValue>
175      <Parameters>
176        <Parameter Name="value" Type="System.Boolean" />
177      </Parameters>
178      <Docs>
179        <since version=".NET 2.0" />
180        <remarks>
181          <attribution license="cc4" from="Microsoft" modified="false" />
182          <para>This method implements the <see cref="T:System.IComparable`1" /> interface and performs slightly better than the <see cref="M:System.Boolean.CompareTo(System.Object)" /> method because it does not have to convert the <paramref name="value" /> parameter to an object.</para>
183          <para>If <paramref name="value" /> has fewer bits (is narrower) than the instance type, some programming languages perform an implicit widening conversion that transforms the value of the parameter into a value with more bits.</para>
184          <para>For example, suppose the instance type is <see cref="T:System.Int32" /> and the parameter type is <see cref="T:System.Byte" />. The Microsoft C# compiler generates instructions to represent the value of the parameter as an <see cref="T:System.Int32" /> object, then generates a <see cref="M:System.Int32.CompareTo(System.Int32)" /> method to compare the <see cref="T:System.Int32" /> instance and parameter representation.</para>
185          <para>Consult your programming language's documentation to determine whether its compiler performs implicit widening conversions on numeric types.</para>
186        </remarks>
187        <summary>
188          <attribution license="cc4" from="Microsoft" modified="false" />
189          <para>Compares this instance to a specified <see cref="T:System.Boolean" /> object and returns an integer that indicates their relationship to one another.</para>
190        </summary>
191        <returns>
192          <attribution license="cc4" from="Microsoft" modified="false" />
193          <para>A signed integer that indicates the relative values of this instance and <paramref name="value" />.</para>
194          <list type="table">
195            <listheader>
196              <item>
197                <term>
198                  <para>Return Value </para>
199                </term>
200                <description>
201                  <para>Condition </para>
202                </description>
203              </item>
204            </listheader>
205            <item>
206              <term>
207                <para>Less than zero </para>
208              </term>
209              <description>
210                <para>This instance is false and <paramref name="value" /> is true. </para>
211              </description>
212            </item>
213            <item>
214              <term>
215                <para>Zero </para>
216              </term>
217              <description>
218                <para>This instance and <paramref name="value" /> are equal (either both are true or both are false). </para>
219              </description>
220            </item>
221            <item>
222              <term>
223                <para>Greater than zero </para>
224              </term>
225              <description>
226                <para>This instance is true and <paramref name="value" /> is false. </para>
227              </description>
228            </item>
229          </list>
230        </returns>
231        <param name="value">
232          <attribution license="cc4" from="Microsoft" modified="false" />A <see cref="T:System.Boolean" /> object to compare to this instance. </param>
233      </Docs>
234    </Member>
235    <Member MemberName="CompareTo">
236      <MemberSignature Language="ILASM" Value=".method public final hidebysig virtual int32 CompareTo(object obj)" />
237      <MemberSignature Language="C#" Value="public int CompareTo (object obj);" />
238      <MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance int32 CompareTo(object obj) cil managed" />
239      <MemberType>Method</MemberType>
240      <AssemblyInfo>
241        <AssemblyVersion>1.0.5000.0</AssemblyVersion>
242        <AssemblyVersion>2.0.0.0</AssemblyVersion>
243        <AssemblyVersion>4.0.0.0</AssemblyVersion>
244      </AssemblyInfo>
245      <ReturnValue>
246        <ReturnType>System.Int32</ReturnType>
247      </ReturnValue>
248      <Parameters>
249        <Parameter Name="obj" Type="System.Object" />
250      </Parameters>
251      <Docs>
252        <exception cref="T:System.ArgumentException">
253          <paramref name="obj" /> is not a <see cref="T:System.Boolean" /> and is not a null reference.</exception>
254        <remarks>
255          <attribution license="cc4" from="Microsoft" modified="false" />
256          <para>
257            <paramref name="obj" /> must be null or an instance of Boolean; otherwise, an exception is thrown.</para>
258          <para>This method implements the <see cref="T:System.IComparable" /> interface.</para>
259        </remarks>
260        <summary>
261          <attribution license="cc4" from="Microsoft" modified="false" />
262          <para>Compares this instance to a specified object and returns an integer that indicates their relationship to one another.</para>
263        </summary>
264        <returns>
265          <attribution license="cc4" from="Microsoft" modified="false" />
266          <para>A signed integer that indicates the relative order of this instance and <paramref name="obj" />.</para>
267          <list type="table">
268            <listheader>
269              <item>
270                <term>
271                  <para>Return Value </para>
272                </term>
273                <description>
274                  <para>Condition </para>
275                </description>
276              </item>
277            </listheader>
278            <item>
279              <term>
280                <para>Less than zero </para>
281              </term>
282              <description>
283                <para>This instance is false and <paramref name="obj" /> is true. </para>
284              </description>
285            </item>
286            <item>
287              <term>
288                <para>Zero </para>
289              </term>
290              <description>
291                <para>This instance and <paramref name="obj" /> are equal (either both are true or both are false). </para>
292              </description>
293            </item>
294            <item>
295              <term>
296                <para>Greater than zero </para>
297              </term>
298              <description>
299                <para>This instance is true and <paramref name="obj" /> is false.</para>
300                <para>-or- </para>
301                <para>
302                  <paramref name="obj" /> is null. </para>
303              </description>
304            </item>
305          </list>
306        </returns>
307        <param name="obj">
308          <attribution license="cc4" from="Microsoft" modified="false" />An object to compare to this instance, or null. </param>
309      </Docs>
310      <Excluded>0</Excluded>
311    </Member>
312    <Member MemberName="Equals">
313      <MemberSignature Language="C#" Value="public bool Equals (bool obj);" />
314      <MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance bool Equals(bool obj) cil managed" />
315      <MemberType>Method</MemberType>
316      <AssemblyInfo>
317        <AssemblyVersion>2.0.0.0</AssemblyVersion>
318        <AssemblyVersion>4.0.0.0</AssemblyVersion>
319      </AssemblyInfo>
320      <ReturnValue>
321        <ReturnType>System.Boolean</ReturnType>
322      </ReturnValue>
323      <Parameters>
324        <Parameter Name="obj" Type="System.Boolean" />
325      </Parameters>
326      <Docs>
327        <since version=".NET 2.0" />
328        <remarks>
329          <attribution license="cc4" from="Microsoft" modified="false" />
330          <para>This method implements the <see cref="T:System.IEquatable`1" /> interface, and performs slightly better than <see cref="M:System.Boolean.Equals(System.Object)" /> because it does not have to convert the <paramref name="obj" /> parameter to an object.</para>
331        </remarks>
332        <summary>
333          <attribution license="cc4" from="Microsoft" modified="false" />
334          <para>Returns a value indicating whether this instance is equal to a specified <see cref="T:System.Boolean" /> object.</para>
335        </summary>
336        <returns>
337          <attribution license="cc4" from="Microsoft" modified="false" />
338          <para>true if <paramref name="obj" /> has the same value as this instance; otherwise, false.</para>
339        </returns>
340        <param name="obj">
341          <attribution license="cc4" from="Microsoft" modified="false" />A <see cref="T:System.Boolean" /> value to compare to this instance.</param>
342      </Docs>
343    </Member>
344    <Member MemberName="Equals">
345      <MemberSignature Language="ILASM" Value=".method public hidebysig virtual bool Equals(object obj)" />
346      <MemberSignature Language="C#" Value="public override bool Equals (object obj);" />
347      <MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance bool Equals(object obj) cil managed" />
348      <MemberType>Method</MemberType>
349      <AssemblyInfo>
350        <AssemblyVersion>1.0.5000.0</AssemblyVersion>
351        <AssemblyVersion>2.0.0.0</AssemblyVersion>
352        <AssemblyVersion>4.0.0.0</AssemblyVersion>
353      </AssemblyInfo>
354      <ReturnValue>
355        <ReturnType>System.Boolean</ReturnType>
356      </ReturnValue>
357      <Parameters>
358        <Parameter Name="obj" Type="System.Object" />
359      </Parameters>
360      <Docs>
361        <param name="obj">
362          <attribution license="cc4" from="Microsoft" modified="false" />An object to compare to this instance. </param>
363        <remarks>
364          <attribution license="cc4" from="Microsoft" modified="false" />
365          <para>This method overrides <see cref="M:System.Object.Equals(System.Object)" />.</para>
366        </remarks>
367        <summary>
368          <attribution license="cc4" from="Microsoft" modified="false" />
369          <para>Returns a value indicating whether this instance is equal to a specified object.</para>
370        </summary>
371        <returns>
372          <attribution license="cc4" from="Microsoft" modified="false" />
373          <para>true if <paramref name="obj" /> is a <see cref="T:System.Boolean" /> and has the same value as this instance; otherwise, false.</para>
374        </returns>
375        <param name="obj">
376          <attribution license="cc4" from="Microsoft" modified="false" />An object to compare to this instance. </param>
377      </Docs>
378      <Excluded>0</Excluded>
379    </Member>
380    <Member MemberName="FalseString">
381      <MemberSignature Language="ILASM" Value=".field public static initOnly string FalseString" />
382      <MemberSignature Language="C#" Value="public static readonly string FalseString;" />
383      <MemberSignature Language="ILAsm" Value=".field public static initonly string FalseString" />
384      <MemberType>Field</MemberType>
385      <AssemblyInfo>
386        <AssemblyVersion>1.0.5000.0</AssemblyVersion>
387        <AssemblyVersion>2.0.0.0</AssemblyVersion>
388        <AssemblyVersion>4.0.0.0</AssemblyVersion>
389      </AssemblyInfo>
390      <ReturnValue>
391        <ReturnType>System.String</ReturnType>
392      </ReturnValue>
393      <Parameters />
394      <MemberValue>False</MemberValue>
395      <Docs>
396        <remarks>
397          <attribution license="cc4" from="Microsoft" modified="false" />
398          <para>This field is equal to the string "False".</para>
399        </remarks>
400        <summary>
401          <attribution license="cc4" from="Microsoft" modified="false" />
402          <para>Represents the Boolean value false as a string. This field is read-only.</para>
403        </summary>
404      </Docs>
405      <Excluded>0</Excluded>
406    </Member>
407    <Member MemberName="GetHashCode">
408      <MemberSignature Language="ILASM" Value=".method public hidebysig virtual int32 GetHashCode()" />
409      <MemberSignature Language="C#" Value="public override int GetHashCode ();" />
410      <MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance int32 GetHashCode() cil managed" />
411      <MemberType>Method</MemberType>
412      <AssemblyInfo>
413        <AssemblyVersion>1.0.5000.0</AssemblyVersion>
414        <AssemblyVersion>2.0.0.0</AssemblyVersion>
415        <AssemblyVersion>4.0.0.0</AssemblyVersion>
416      </AssemblyInfo>
417      <ReturnValue>
418        <ReturnType>System.Int32</ReturnType>
419      </ReturnValue>
420      <Parameters />
421      <Docs>
422        <remarks>
423          <attribution license="cc4" from="Microsoft" modified="false" />
424          <para>The <see cref="T:System.Boolean" /> class implements true as the integer, one, and false as the integer, zero. However, a particular programming language might represent true and false with other values.</para>
425        </remarks>
426        <summary>
427          <attribution license="cc4" from="Microsoft" modified="false" />
428          <para>Returns the hash code for this instance.</para>
429        </summary>
430        <returns>
431          <attribution license="cc4" from="Microsoft" modified="false" />
432          <para>A hash code for the current <see cref="T:System.Boolean" />.</para>
433        </returns>
434      </Docs>
435      <Excluded>0</Excluded>
436    </Member>
437    <Member MemberName="GetTypeCode">
438      <MemberSignature Language="C#" Value="public TypeCode GetTypeCode ();" />
439      <MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance valuetype System.TypeCode GetTypeCode() cil managed" />
440      <MemberType>Method</MemberType>
441      <AssemblyInfo>
442        <AssemblyVersion>1.0.5000.0</AssemblyVersion>
443        <AssemblyVersion>2.0.0.0</AssemblyVersion>
444        <AssemblyVersion>4.0.0.0</AssemblyVersion>
445      </AssemblyInfo>
446      <ReturnValue>
447        <ReturnType>System.TypeCode</ReturnType>
448      </ReturnValue>
449      <Parameters />
450      <Docs>
451        <remarks>To be added.</remarks>
452        <summary>
453          <attribution license="cc4" from="Microsoft" modified="false" />
454          <para>Returns the <see cref="T:System.TypeCode" /> for value type <see cref="T:System.Boolean" />.</para>
455        </summary>
456        <returns>
457          <attribution license="cc4" from="Microsoft" modified="false" />
458          <para>The enumerated constant, <see cref="F:System.TypeCode.Boolean" />.</para>
459        </returns>
460      </Docs>
461    </Member>
462    <Member MemberName="Parse">
463      <MemberSignature Language="ILASM" Value=".method public hidebysig static bool Parse(string value)" />
464      <MemberSignature Language="C#" Value="public static bool Parse (string value);" />
465      <MemberSignature Language="ILAsm" Value=".method public static hidebysig bool Parse(string value) cil managed" />
466      <MemberType>Method</MemberType>
467      <AssemblyInfo>
468        <AssemblyVersion>1.0.5000.0</AssemblyVersion>
469        <AssemblyVersion>2.0.0.0</AssemblyVersion>
470        <AssemblyVersion>4.0.0.0</AssemblyVersion>
471      </AssemblyInfo>
472      <ReturnValue>
473        <ReturnType>System.Boolean</ReturnType>
474      </ReturnValue>
475      <Parameters>
476        <Parameter Name="value" Type="System.String" />
477      </Parameters>
478      <Docs>
479        <exception cref="T:System.ArgumentNullException">
480          <paramref name="value" /> is a null reference.</exception>
481        <exception cref="T:System.FormatException">
482          <paramref name="value" /> is not equivalent to either <see cref="F:System.Boolean.TrueString" /> or <see cref="F:System.Boolean.FalseString" />.</exception>
483        <example>
484          <para>The following example demonstrates the <see cref="M:System.Boolean.Parse(System.String)" /> method.</para>
485          <code lang="C#">using System;
486public class BoolParse {
487   public static void Main() {
488      Boolean b = Boolean.Parse("  true  ");
489      Console.WriteLine("\"  true  \" parses to \"{0}\".", b);
490   }
491}
492   </code>
493          <para>The output is</para>
494          <para>
495            <c>" true "
496      parses to "True".</c>
497          </para>
498        </example>
499        <remarks>
500          <attribution license="cc4" from="Microsoft" modified="false" />
501          <para>The <paramref name="value" /> parameter, optionally preceded or trailed by white space, must contain a string that is equal to the value of either the <see cref="F:System.Boolean.TrueString" /> or <see cref="F:System.Boolean.FalseString" /> field; otherwise, a <see cref="T:System.FormatException" /> is thrown. The comparison is ordinal and case-insensitive.</para>
502          <para>You can call the <see cref="M:System.Boolean.TryParse(System.String,System.Boolean@)" /> method to parse a string without having to handle the <see cref="T:System.FormatException" /> exception that is thrown if the parsing operation fails. </para>
503        </remarks>
504        <summary>
505          <attribution license="cc4" from="Microsoft" modified="false" />
506          <para>Converts the specified string representation of a logical value to its <see cref="T:System.Boolean" /> equivalent, or throws an exception if the string is not equal to the value of <see cref="F:System.Boolean.TrueString" /> or <see cref="F:System.Boolean.FalseString" />.</para>
507        </summary>
508        <returns>
509          <attribution license="cc4" from="Microsoft" modified="false" />
510          <para>true if <paramref name="value" /> is equal to the value of the <see cref="F:System.Boolean.TrueString" /> field; false if <paramref name="value" /> is equal to the value of the <see cref="F:System.Boolean.FalseString" /> field.</para>
511        </returns>
512        <param name="value">
513          <attribution license="cc4" from="Microsoft" modified="false" />A string containing the value to convert. </param>
514      </Docs>
515      <Excluded>0</Excluded>
516    </Member>
517    <Member MemberName="System.IConvertible.ToBoolean">
518      <MemberSignature Language="C#" Value="bool IConvertible.ToBoolean (IFormatProvider provider);" />
519      <MemberSignature Language="ILAsm" Value=".method hidebysig newslot virtual instance bool System.IConvertible.ToBoolean(class System.IFormatProvider provider) cil managed" />
520      <MemberType>Method</MemberType>
521      <AssemblyInfo>
522        <AssemblyVersion>1.0.5000.0</AssemblyVersion>
523        <AssemblyVersion>2.0.0.0</AssemblyVersion>
524        <AssemblyVersion>4.0.0.0</AssemblyVersion>
525      </AssemblyInfo>
526      <ReturnValue>
527        <ReturnType>System.Boolean</ReturnType>
528      </ReturnValue>
529      <Parameters>
530        <Parameter Name="provider" Type="System.IFormatProvider" />
531      </Parameters>
532      <Docs>
533        <remarks>
534          <attribution license="cc4" from="Microsoft" modified="false" />
535          <para>This member is an explicit interface member implementation. It can be used only when the <see cref="T:System.Boolean" /> instance is cast to an <see cref="T:System.IConvertible" /> interface.</para>
536        </remarks>
537        <summary>
538          <attribution license="cc4" from="Microsoft" modified="false" />
539          <para>For a description of this member, see <see cref="M:System.IConvertible.ToBoolean(System.IFormatProvider)" />. </para>
540        </summary>
541        <returns>
542          <attribution license="cc4" from="Microsoft" modified="false" />
543          <para>true or false.</para>
544        </returns>
545        <param name="provider">
546          <attribution license="cc4" from="Microsoft" modified="false" />This parameter is ignored.</param>
547      </Docs>
548    </Member>
549    <Member MemberName="System.IConvertible.ToByte">
550      <MemberSignature Language="C#" Value="byte IConvertible.ToByte (IFormatProvider provider);" />
551      <MemberSignature Language="ILAsm" Value=".method hidebysig newslot virtual instance unsigned int8 System.IConvertible.ToByte(class System.IFormatProvider provider) cil managed" />
552      <MemberType>Method</MemberType>
553      <AssemblyInfo>
554        <AssemblyVersion>1.0.5000.0</AssemblyVersion>
555        <AssemblyVersion>2.0.0.0</AssemblyVersion>
556        <AssemblyVersion>4.0.0.0</AssemblyVersion>
557      </AssemblyInfo>
558      <ReturnValue>
559        <ReturnType>System.Byte</ReturnType>
560      </ReturnValue>
561      <Parameters>
562        <Parameter Name="provider" Type="System.IFormatProvider" />
563      </Parameters>
564      <Docs>
565        <remarks>
566          <attribution license="cc4" from="Microsoft" modified="false" />
567          <para>This member is an explicit interface member implementation. It can be used only when the <see cref="T:System.Boolean" /> instance is cast to an <see cref="T:System.IConvertible" /> interface. The recommended alternative is to call the <see cref="M:System.Convert.ToByte(System.Boolean)" /> method. </para>
568        </remarks>
569        <summary>
570          <attribution license="cc4" from="Microsoft" modified="false" />
571          <para>For a description of this member, see <see cref="M:System.IConvertible.ToByte(System.IFormatProvider)" />. </para>
572        </summary>
573        <returns>
574          <attribution license="cc4" from="Microsoft" modified="false" />
575          <para>1 if the value of this instance is true; otherwise, 0. </para>
576        </returns>
577        <param name="provider">
578          <attribution license="cc4" from="Microsoft" modified="false" />This parameter is ignored.</param>
579      </Docs>
580    </Member>
581    <Member MemberName="System.IConvertible.ToChar">
582      <MemberSignature Language="C#" Value="char IConvertible.ToChar (IFormatProvider provider);" />
583      <MemberSignature Language="ILAsm" Value=".method hidebysig newslot virtual instance char System.IConvertible.ToChar(class System.IFormatProvider provider) cil managed" />
584      <MemberType>Method</MemberType>
585      <AssemblyInfo>
586        <AssemblyVersion>1.0.5000.0</AssemblyVersion>
587        <AssemblyVersion>2.0.0.0</AssemblyVersion>
588        <AssemblyVersion>4.0.0.0</AssemblyVersion>
589      </AssemblyInfo>
590      <ReturnValue>
591        <ReturnType>System.Char</ReturnType>
592      </ReturnValue>
593      <Parameters>
594        <Parameter Name="provider" Type="System.IFormatProvider" />
595      </Parameters>
596      <Docs>
597        <remarks>To be added.</remarks>
598        <summary>
599          <attribution license="cc4" from="Microsoft" modified="false" />
600          <para>This conversion is not supported. Attempting to use this method throws an <see cref="T:System.InvalidCastException" />.</para>
601        </summary>
602        <returns>
603          <attribution license="cc4" from="Microsoft" modified="false" />
604          <para>This conversion is not supported. No value is returned.</para>
605        </returns>
606        <param name="provider">
607          <attribution license="cc4" from="Microsoft" modified="false" />This parameter is ignored.</param>
608      </Docs>
609    </Member>
610    <Member MemberName="System.IConvertible.ToDateTime">
611      <MemberSignature Language="C#" Value="DateTime IConvertible.ToDateTime (IFormatProvider provider);" />
612      <MemberSignature Language="ILAsm" Value=".method hidebysig newslot virtual instance valuetype System.DateTime System.IConvertible.ToDateTime(class System.IFormatProvider provider) cil managed" />
613      <MemberType>Method</MemberType>
614      <AssemblyInfo>
615        <AssemblyVersion>1.0.5000.0</AssemblyVersion>
616        <AssemblyVersion>2.0.0.0</AssemblyVersion>
617        <AssemblyVersion>4.0.0.0</AssemblyVersion>
618      </AssemblyInfo>
619      <ReturnValue>
620        <ReturnType>System.DateTime</ReturnType>
621      </ReturnValue>
622      <Parameters>
623        <Parameter Name="provider" Type="System.IFormatProvider" />
624      </Parameters>
625      <Docs>
626        <remarks>To be added.</remarks>
627        <summary>
628          <attribution license="cc4" from="Microsoft" modified="false" />
629          <para>This conversion is not supported. Attempting to use this method throws an <see cref="T:System.InvalidCastException" />.</para>
630        </summary>
631        <returns>
632          <attribution license="cc4" from="Microsoft" modified="false" />
633          <para>This conversion is not supported. No value is returned.</para>
634        </returns>
635        <param name="provider">
636          <attribution license="cc4" from="Microsoft" modified="false" />This parameter is ignored.</param>
637      </Docs>
638    </Member>
639    <Member MemberName="System.IConvertible.ToDecimal">
640      <MemberSignature Language="C#" Value="decimal IConvertible.ToDecimal (IFormatProvider provider);" />
641      <MemberSignature Language="ILAsm" Value=".method hidebysig newslot virtual instance valuetype System.Decimal System.IConvertible.ToDecimal(class System.IFormatProvider provider) cil managed" />
642      <MemberType>Method</MemberType>
643      <AssemblyInfo>
644        <AssemblyVersion>1.0.5000.0</AssemblyVersion>
645        <AssemblyVersion>2.0.0.0</AssemblyVersion>
646        <AssemblyVersion>4.0.0.0</AssemblyVersion>
647      </AssemblyInfo>
648      <ReturnValue>
649        <ReturnType>System.Decimal</ReturnType>
650      </ReturnValue>
651      <Parameters>
652        <Parameter Name="provider" Type="System.IFormatProvider" />
653      </Parameters>
654      <Docs>
655        <remarks>
656          <attribution license="cc4" from="Microsoft" modified="false" />
657          <para>This member is an explicit interface member implementation. It can be used only when the <see cref="T:System.Boolean" /> instance is cast to an <see cref="T:System.IConvertible" /> interface. The recommended alternative is to call the <see cref="M:System.Convert.ToDecimal(System.Boolean)" /> method.</para>
658        </remarks>
659        <summary>
660          <attribution license="cc4" from="Microsoft" modified="false" />
661          <para>For a description of this member, see <see cref="M:System.IConvertible.ToDecimal(System.IFormatProvider)" />..</para>
662        </summary>
663        <returns>
664          <attribution license="cc4" from="Microsoft" modified="false" />
665          <para>1 if this instance is true; otherwise, 0.</para>
666        </returns>
667        <param name="provider">
668          <attribution license="cc4" from="Microsoft" modified="false" />This parameter is ignored.</param>
669      </Docs>
670    </Member>
671    <Member MemberName="System.IConvertible.ToDouble">
672      <MemberSignature Language="C#" Value="double IConvertible.ToDouble (IFormatProvider provider);" />
673      <MemberSignature Language="ILAsm" Value=".method hidebysig newslot virtual instance float64 System.IConvertible.ToDouble(class System.IFormatProvider provider) cil managed" />
674      <MemberType>Method</MemberType>
675      <AssemblyInfo>
676        <AssemblyVersion>1.0.5000.0</AssemblyVersion>
677        <AssemblyVersion>2.0.0.0</AssemblyVersion>
678        <AssemblyVersion>4.0.0.0</AssemblyVersion>
679      </AssemblyInfo>
680      <ReturnValue>
681        <ReturnType>System.Double</ReturnType>
682      </ReturnValue>
683      <Parameters>
684        <Parameter Name="provider" Type="System.IFormatProvider" />
685      </Parameters>
686      <Docs>
687        <remarks>
688          <attribution license="cc4" from="Microsoft" modified="false" />
689          <para>This member is an explicit interface member implementation. It can be used only when the <see cref="T:System.Boolean" /> instance is cast to an <see cref="T:System.IConvertible" /> interface. The recommended alternative is to call the <see cref="M:System.Convert.ToDouble(System.Boolean)" /> method.</para>
690        </remarks>
691        <summary>
692          <attribution license="cc4" from="Microsoft" modified="false" />
693          <para>For a description of this member, see <see cref="M:System.IConvertible.ToDouble(System.IFormatProvider)" />..</para>
694        </summary>
695        <returns>
696          <attribution license="cc4" from="Microsoft" modified="false" />
697          <para>1 if this instance is true; otherwise, 0.</para>
698        </returns>
699        <param name="provider">
700          <attribution license="cc4" from="Microsoft" modified="false" />This parameter is ignored.</param>
701      </Docs>
702    </Member>
703    <Member MemberName="System.IConvertible.ToInt16">
704      <MemberSignature Language="C#" Value="short IConvertible.ToInt16 (IFormatProvider provider);" />
705      <MemberSignature Language="ILAsm" Value=".method hidebysig newslot virtual instance int16 System.IConvertible.ToInt16(class System.IFormatProvider provider) cil managed" />
706      <MemberType>Method</MemberType>
707      <AssemblyInfo>
708        <AssemblyVersion>1.0.5000.0</AssemblyVersion>
709        <AssemblyVersion>2.0.0.0</AssemblyVersion>
710        <AssemblyVersion>4.0.0.0</AssemblyVersion>
711      </AssemblyInfo>
712      <ReturnValue>
713        <ReturnType>System.Int16</ReturnType>
714      </ReturnValue>
715      <Parameters>
716        <Parameter Name="provider" Type="System.IFormatProvider" />
717      </Parameters>
718      <Docs>
719        <remarks>
720          <attribution license="cc4" from="Microsoft" modified="false" />
721          <para>This member is an explicit interface member implementation. It can be used only when the <see cref="T:System.Boolean" /> instance is cast to an <see cref="T:System.IConvertible" /> interface. The recommended alternative is to call the <see cref="M:System.Convert.ToInt16(System.Boolean)" /> method.</para>
722        </remarks>
723        <summary>
724          <attribution license="cc4" from="Microsoft" modified="false" />
725          <para>For a description of this member, see <see cref="M:System.IConvertible.ToInt16(System.IFormatProvider)" />. </para>
726        </summary>
727        <returns>
728          <attribution license="cc4" from="Microsoft" modified="false" />
729          <para>1 if this instance is true; otherwise, 0.</para>
730        </returns>
731        <param name="provider">
732          <attribution license="cc4" from="Microsoft" modified="false" />This parameter is ignored.</param>
733      </Docs>
734    </Member>
735    <Member MemberName="System.IConvertible.ToInt32">
736      <MemberSignature Language="C#" Value="int IConvertible.ToInt32 (IFormatProvider provider);" />
737      <MemberSignature Language="ILAsm" Value=".method hidebysig newslot virtual instance int32 System.IConvertible.ToInt32(class System.IFormatProvider provider) cil managed" />
738      <MemberType>Method</MemberType>
739      <AssemblyInfo>
740        <AssemblyVersion>1.0.5000.0</AssemblyVersion>
741        <AssemblyVersion>2.0.0.0</AssemblyVersion>
742        <AssemblyVersion>4.0.0.0</AssemblyVersion>
743      </AssemblyInfo>
744      <ReturnValue>
745        <ReturnType>System.Int32</ReturnType>
746      </ReturnValue>
747      <Parameters>
748        <Parameter Name="provider" Type="System.IFormatProvider" />
749      </Parameters>
750      <Docs>
751        <remarks>
752          <attribution license="cc4" from="Microsoft" modified="false" />
753          <para>This member is an explicit interface member implementation. It can be used only when the <see cref="T:System.Boolean" /> instance is cast to an <see cref="T:System.IConvertible" /> interface. The recommended alternative is to call the <see cref="M:System.Convert.ToInt32(System.Boolean)" /> method.</para>
754        </remarks>
755        <summary>
756          <attribution license="cc4" from="Microsoft" modified="false" />
757          <para>For a description of this member, see <see cref="M:System.IConvertible.ToInt32(System.IFormatProvider)" />. </para>
758        </summary>
759        <returns>
760          <attribution license="cc4" from="Microsoft" modified="false" />
761          <para>1 if this instance is true; otherwise, 0.</para>
762        </returns>
763        <param name="provider">
764          <attribution license="cc4" from="Microsoft" modified="false" />This parameter is ignored.</param>
765      </Docs>
766    </Member>
767    <Member MemberName="System.IConvertible.ToInt64">
768      <MemberSignature Language="C#" Value="long IConvertible.ToInt64 (IFormatProvider provider);" />
769      <MemberSignature Language="ILAsm" Value=".method hidebysig newslot virtual instance int64 System.IConvertible.ToInt64(class System.IFormatProvider provider) cil managed" />
770      <MemberType>Method</MemberType>
771      <AssemblyInfo>
772        <AssemblyVersion>1.0.5000.0</AssemblyVersion>
773        <AssemblyVersion>2.0.0.0</AssemblyVersion>
774        <AssemblyVersion>4.0.0.0</AssemblyVersion>
775      </AssemblyInfo>
776      <ReturnValue>
777        <ReturnType>System.Int64</ReturnType>
778      </ReturnValue>
779      <Parameters>
780        <Parameter Name="provider" Type="System.IFormatProvider" />
781      </Parameters>
782      <Docs>
783        <remarks>
784          <attribution license="cc4" from="Microsoft" modified="false" />
785          <para>This member is an explicit interface member implementation. It can be used only when the <see cref="T:System.Boolean" /> instance is cast to an <see cref="T:System.IConvertible" /> interface. The recommended alternative is to call the <see cref="M:System.Convert.ToInt64(System.Boolean)" /> method.</para>
786        </remarks>
787        <summary>
788          <attribution license="cc4" from="Microsoft" modified="false" />
789          <para>For a description of this member, see <see cref="M:System.IConvertible.ToInt64(System.IFormatProvider)" />. </para>
790        </summary>
791        <returns>
792          <attribution license="cc4" from="Microsoft" modified="false" />
793          <para>1 if this instance is true; otherwise, 0.</para>
794        </returns>
795        <param name="provider">
796          <attribution license="cc4" from="Microsoft" modified="false" />This parameter is ignored.</param>
797      </Docs>
798    </Member>
799    <Member MemberName="System.IConvertible.ToSByte">
800      <MemberSignature Language="C#" Value="sbyte IConvertible.ToSByte (IFormatProvider provider);" />
801      <MemberSignature Language="ILAsm" Value=".method hidebysig newslot virtual instance int8 System.IConvertible.ToSByte(class System.IFormatProvider provider) cil managed" />
802      <MemberType>Method</MemberType>
803      <AssemblyInfo>
804        <AssemblyVersion>1.0.5000.0</AssemblyVersion>
805        <AssemblyVersion>2.0.0.0</AssemblyVersion>
806        <AssemblyVersion>4.0.0.0</AssemblyVersion>
807      </AssemblyInfo>
808      <ReturnValue>
809        <ReturnType>System.SByte</ReturnType>
810      </ReturnValue>
811      <Parameters>
812        <Parameter Name="provider" Type="System.IFormatProvider" />
813      </Parameters>
814      <Docs>
815        <remarks>
816          <attribution license="cc4" from="Microsoft" modified="false" />
817          <para>This member is an explicit interface member implementation. It can be used only when the <see cref="T:System.Boolean" /> instance is cast to an <see cref="T:System.IConvertible" /> interface. The recommended alternative is to call the <see cref="M:System.Convert.ToSByte(System.Boolean)" /> method.</para>
818        </remarks>
819        <summary>
820          <attribution license="cc4" from="Microsoft" modified="false" />
821          <para>For a description of this member, see <see cref="M:System.IConvertible.ToSByte(System.IFormatProvider)" />. </para>
822        </summary>
823        <returns>
824          <attribution license="cc4" from="Microsoft" modified="false" />
825          <para>1 if this instance is true; otherwise, 0.</para>
826        </returns>
827        <param name="provider">
828          <attribution license="cc4" from="Microsoft" modified="false" />This parameter is ignored.</param>
829      </Docs>
830    </Member>
831    <Member MemberName="System.IConvertible.ToSingle">
832      <MemberSignature Language="C#" Value="float IConvertible.ToSingle (IFormatProvider provider);" />
833      <MemberSignature Language="ILAsm" Value=".method hidebysig newslot virtual instance float32 System.IConvertible.ToSingle(class System.IFormatProvider provider) cil managed" />
834      <MemberType>Method</MemberType>
835      <AssemblyInfo>
836        <AssemblyVersion>1.0.5000.0</AssemblyVersion>
837        <AssemblyVersion>2.0.0.0</AssemblyVersion>
838        <AssemblyVersion>4.0.0.0</AssemblyVersion>
839      </AssemblyInfo>
840      <ReturnValue>
841        <ReturnType>System.Single</ReturnType>
842      </ReturnValue>
843      <Parameters>
844        <Parameter Name="provider" Type="System.IFormatProvider" />
845      </Parameters>
846      <Docs>
847        <remarks>
848          <attribution license="cc4" from="Microsoft" modified="false" />
849          <para>This member is an explicit interface member implementation. It can be used only when the <see cref="T:System.Boolean" /> instance is cast to an <see cref="T:System.IConvertible" /> interface. The recommended alternative is to call the <see cref="M:System.Convert.ToSingle(System.Boolean)" /> method.</para>
850        </remarks>
851        <summary>
852          <attribution license="cc4" from="Microsoft" modified="false" />
853          <para>For a description of this member, see <see cref="M:System.IConvertible.ToSingle(System.IFormatProvider)" />..</para>
854        </summary>
855        <returns>
856          <attribution license="cc4" from="Microsoft" modified="false" />
857          <para>1 if this instance is true; otherwise, 0.</para>
858        </returns>
859        <param name="provider">
860          <attribution license="cc4" from="Microsoft" modified="false" />This parameter is ignored.</param>
861      </Docs>
862    </Member>
863    <Member MemberName="System.IConvertible.ToType">
864      <MemberSignature Language="C#" Value="object IConvertible.ToType (Type targetType, IFormatProvider provider);" />
865      <MemberSignature Language="ILAsm" Value=".method hidebysig newslot virtual instance object System.IConvertible.ToType(class System.Type targetType, class System.IFormatProvider provider) cil managed" />
866      <MemberType>Method</MemberType>
867      <AssemblyInfo>
868        <AssemblyVersion>1.0.5000.0</AssemblyVersion>
869        <AssemblyVersion>2.0.0.0</AssemblyVersion>
870        <AssemblyVersion>4.0.0.0</AssemblyVersion>
871      </AssemblyInfo>
872      <ReturnValue>
873        <ReturnType>System.Object</ReturnType>
874      </ReturnValue>
875      <Parameters>
876        <Parameter Name="targetType" Type="System.Type" />
877        <Parameter Name="provider" Type="System.IFormatProvider" />
878      </Parameters>
879      <Docs>
880        <param name="targetType">To be added.</param>
881        <remarks>
882          <attribution license="cc4" from="Microsoft" modified="false" />
883          <para>This member is an explicit interface member implementation. It can be used only when the <see cref="T:System.Boolean" /> instance is cast to an <see cref="T:System.IConvertible" /> interface. The recommended alternative is to call the <see cref="M:System.Convert.ChangeType(System.Object,System.Type,System.IFormatProvider)" /> method.</para>
884        </remarks>
885        <summary>
886          <attribution license="cc4" from="Microsoft" modified="false" />
887          <para>For a description of this member, see <see cref="M:System.IConvertible.ToType(System.Type,System.IFormatProvider)" />. </para>
888        </summary>
889        <returns>
890          <attribution license="cc4" from="Microsoft" modified="false" />
891          <para>An object of the specified type, with a value that is equivalent to the value of this Boolean object.</para>
892        </returns>
893        <param name="provider">
894          <attribution license="cc4" from="Microsoft" modified="false" />An <see cref="T:System.IFormatProvider" /> implementation that supplies culture-specific information about the format of the returned value.</param>
895      </Docs>
896    </Member>
897    <Member MemberName="System.IConvertible.ToUInt16">
898      <MemberSignature Language="C#" Value="ushort IConvertible.ToUInt16 (IFormatProvider provider);" />
899      <MemberSignature Language="ILAsm" Value=".method hidebysig newslot virtual instance unsigned int16 System.IConvertible.ToUInt16(class System.IFormatProvider provider) cil managed" />
900      <MemberType>Method</MemberType>
901      <AssemblyInfo>
902        <AssemblyVersion>1.0.5000.0</AssemblyVersion>
903        <AssemblyVersion>2.0.0.0</AssemblyVersion>
904        <AssemblyVersion>4.0.0.0</AssemblyVersion>
905      </AssemblyInfo>
906      <ReturnValue>
907        <ReturnType>System.UInt16</ReturnType>
908      </ReturnValue>
909      <Parameters>
910        <Parameter Name="provider" Type="System.IFormatProvider" />
911      </Parameters>
912      <Docs>
913        <remarks>
914          <attribution license="cc4" from="Microsoft" modified="false" />
915          <para>This member is an explicit interface member implementation. It can be used only when the <see cref="T:System.Boolean" /> instance is cast to an <see cref="T:System.IConvertible" /> interface. The recommended alternative is to call the <see cref="M:System.Convert.ToUInt16(System.Boolean)" /> method.</para>
916        </remarks>
917        <summary>
918          <attribution license="cc4" from="Microsoft" modified="false" />
919          <para>For a description of this member, see <see cref="M:System.IConvertible.ToUInt16(System.IFormatProvider)" />. </para>
920        </summary>
921        <returns>
922          <attribution license="cc4" from="Microsoft" modified="false" />
923          <para>1 if this instance is true; otherwise, 0.</para>
924        </returns>
925        <param name="provider">
926          <attribution license="cc4" from="Microsoft" modified="false" />This parameter is ignored.</param>
927      </Docs>
928    </Member>
929    <Member MemberName="System.IConvertible.ToUInt32">
930      <MemberSignature Language="C#" Value="uint IConvertible.ToUInt32 (IFormatProvider provider);" />
931      <MemberSignature Language="ILAsm" Value=".method hidebysig newslot virtual instance unsigned int32 System.IConvertible.ToUInt32(class System.IFormatProvider provider) cil managed" />
932      <MemberType>Method</MemberType>
933      <AssemblyInfo>
934        <AssemblyVersion>1.0.5000.0</AssemblyVersion>
935        <AssemblyVersion>2.0.0.0</AssemblyVersion>
936        <AssemblyVersion>4.0.0.0</AssemblyVersion>
937      </AssemblyInfo>
938      <ReturnValue>
939        <ReturnType>System.UInt32</ReturnType>
940      </ReturnValue>
941      <Parameters>
942        <Parameter Name="provider" Type="System.IFormatProvider" />
943      </Parameters>
944      <Docs>
945        <remarks>
946          <attribution license="cc4" from="Microsoft" modified="false" />
947          <para>This member is an explicit interface member implementation. It can be used only when the <see cref="T:System.Boolean" /> instance is cast to an <see cref="T:System.IConvertible" /> interface. The recommended alternative is to call the <see cref="M:System.Convert.ToUInt32(System.Boolean)" /> method.</para>
948        </remarks>
949        <summary>
950          <attribution license="cc4" from="Microsoft" modified="false" />
951          <para>For a description of this member, see <see cref="M:System.IConvertible.ToUInt32(System.IFormatProvider)" />. </para>
952        </summary>
953        <returns>
954          <attribution license="cc4" from="Microsoft" modified="false" />
955          <para>1 if this instance is true; otherwise, 0.</para>
956        </returns>
957        <param name="provider">
958          <attribution license="cc4" from="Microsoft" modified="false" />This parameter is ignored.</param>
959      </Docs>
960    </Member>
961    <Member MemberName="System.IConvertible.ToUInt64">
962      <MemberSignature Language="C#" Value="ulong IConvertible.ToUInt64 (IFormatProvider provider);" />
963      <MemberSignature Language="ILAsm" Value=".method hidebysig newslot virtual instance unsigned int64 System.IConvertible.ToUInt64(class System.IFormatProvider provider) cil managed" />
964      <MemberType>Method</MemberType>
965      <AssemblyInfo>
966        <AssemblyVersion>1.0.5000.0</AssemblyVersion>
967        <AssemblyVersion>2.0.0.0</AssemblyVersion>
968        <AssemblyVersion>4.0.0.0</AssemblyVersion>
969      </AssemblyInfo>
970      <ReturnValue>
971        <ReturnType>System.UInt64</ReturnType>
972      </ReturnValue>
973      <Parameters>
974        <Parameter Name="provider" Type="System.IFormatProvider" />
975      </Parameters>
976      <Docs>
977        <remarks>
978          <attribution license="cc4" from="Microsoft" modified="false" />
979          <para>This member is an explicit interface member implementation. It can be used only when the <see cref="T:System.Boolean" /> instance is cast to an <see cref="T:System.IConvertible" /> interface. The recommended alternative is to call the <see cref="M:System.Convert.ToUInt64(System.Boolean)" /> method.</para>
980        </remarks>
981        <summary>
982          <attribution license="cc4" from="Microsoft" modified="false" />
983          <para>For a description of this member, see <see cref="M:System.IConvertible.ToUInt64(System.IFormatProvider)" />. </para>
984        </summary>
985        <returns>
986          <attribution license="cc4" from="Microsoft" modified="false" />
987          <para>1 if this instance is true; otherwise, 0.</para>
988        </returns>
989        <param name="provider">
990          <attribution license="cc4" from="Microsoft" modified="false" />This parameter is ignored.</param>
991      </Docs>
992    </Member>
993    <Member MemberName="ToString">
994      <MemberSignature Language="ILASM" Value=".method public hidebysig virtual string ToString()" />
995      <MemberSignature Language="C#" Value="public override string ToString ();" />
996      <MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance string ToString() cil managed" />
997      <MemberType>Method</MemberType>
998      <AssemblyInfo>
999        <AssemblyVersion>1.0.5000.0</AssemblyVersion>
1000        <AssemblyVersion>2.0.0.0</AssemblyVersion>
1001        <AssemblyVersion>4.0.0.0</AssemblyVersion>
1002      </AssemblyInfo>
1003      <ReturnValue>
1004        <ReturnType>System.String</ReturnType>
1005      </ReturnValue>
1006      <Parameters />
1007      <Docs>
1008        <remarks>
1009          <attribution license="cc4" from="Microsoft" modified="false" />
1010          <para>This method returns the constants "True" or "False". Note that XML is case-sensitive, and that the XML specification recognizes "true" and "false" as the valid set of Boolean values. If the <see cref="T:System.String" /> object returned by the <see cref="M:System.Boolean.ToString" /> method is to be written to an XML file, its <see cref="M:System.String.ToLower" /> method should be called first to convert it to lowercase.  </para>
1011        </remarks>
1012        <summary>
1013          <attribution license="cc4" from="Microsoft" modified="false" />
1014          <para>Converts the value of this instance to its equivalent string representation (either "True" or "False").</para>
1015        </summary>
1016        <returns>
1017          <attribution license="cc4" from="Microsoft" modified="false" />
1018          <para>
1019            <see cref="F:System.Boolean.TrueString" /> if the value of this instance is true, or <see cref="F:System.Boolean.FalseString" /> if the value of this instance is false.</para>
1020        </returns>
1021      </Docs>
1022      <Excluded>0</Excluded>
1023    </Member>
1024    <Member MemberName="ToString">
1025      <MemberSignature Language="ILASM" Value=".method public final hidebysig virtual string ToString(class System.IFormatProvider provider)" />
1026      <MemberSignature Language="C#" Value="public string ToString (IFormatProvider provider);" />
1027      <MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance string ToString(class System.IFormatProvider provider) cil managed" />
1028      <MemberType>Method</MemberType>
1029      <AssemblyInfo>
1030        <AssemblyVersion>1.0.5000.0</AssemblyVersion>
1031        <AssemblyVersion>2.0.0.0</AssemblyVersion>
1032        <AssemblyVersion>4.0.0.0</AssemblyVersion>
1033      </AssemblyInfo>
1034      <ReturnValue>
1035        <ReturnType>System.String</ReturnType>
1036      </ReturnValue>
1037      <Parameters>
1038        <Parameter Name="provider" Type="System.IFormatProvider" />
1039      </Parameters>
1040      <Docs>
1041        <remarks>
1042          <attribution license="cc4" from="Microsoft" modified="false" />
1043          <para>The <paramref name="provider" /> parameter is reserved. It does not participate in the execution of this method. This means that the <see cref="M:System.Boolean.ToString(System.IFormatProvider)" /> method, unlike most methods with a <paramref name="provider" /> parameter, does not reflect culture-specific settings. </para>
1044          <para>This method returns the constants "True" or "False". Note that XML is case-sensitive, and that the XML specification recognizes "true" and "false" as the valid set of Boolean values. If the <see cref="T:System.String" /> object returned by the <see cref="M:System.Boolean.ToString(System.IFormatProvider)" /> method is to be written to an XML file, its <see cref="M:System.String.ToLower" /> method should be called first to convert it to lowercase.  </para>
1045          <para />
1046        </remarks>
1047        <summary>
1048          <attribution license="cc4" from="Microsoft" modified="false" />
1049          <para>Converts the value of this instance to its equivalent string representation (either "True" or "False").</para>
1050        </summary>
1051        <returns>
1052          <attribution license="cc4" from="Microsoft" modified="false" />
1053          <para>
1054            <see cref="F:System.Boolean.TrueString" /> if the value of this instance is true, or <see cref="F:System.Boolean.FalseString" /> if the value of this instance is false.</para>
1055        </returns>
1056        <param name="provider">
1057          <attribution license="cc4" from="Microsoft" modified="false" />(Reserved) An <see cref="T:System.IFormatProvider" /> object. </param>
1058      </Docs>
1059      <Excluded>0</Excluded>
1060    </Member>
1061    <Member MemberName="TrueString">
1062      <MemberSignature Language="ILASM" Value=".field public static initOnly string TrueString" />
1063      <MemberSignature Language="C#" Value="public static readonly string TrueString;" />
1064      <MemberSignature Language="ILAsm" Value=".field public static initonly string TrueString" />
1065      <MemberType>Field</MemberType>
1066      <AssemblyInfo>
1067        <AssemblyVersion>1.0.5000.0</AssemblyVersion>
1068        <AssemblyVersion>2.0.0.0</AssemblyVersion>
1069        <AssemblyVersion>4.0.0.0</AssemblyVersion>
1070      </AssemblyInfo>
1071      <ReturnValue>
1072        <ReturnType>System.String</ReturnType>
1073      </ReturnValue>
1074      <Parameters />
1075      <MemberValue>True</MemberValue>
1076      <Docs>
1077        <remarks>
1078          <attribution license="cc4" from="Microsoft" modified="false" />
1079          <para>This field is equal to the string "True".</para>
1080        </remarks>
1081        <summary>
1082          <attribution license="cc4" from="Microsoft" modified="false" />
1083          <para>Represents the Boolean value true as a string. This field is read-only.</para>
1084        </summary>
1085      </Docs>
1086      <Excluded>0</Excluded>
1087    </Member>
1088    <Member MemberName="TryParse">
1089      <MemberSignature Language="C#" Value="public static bool TryParse (string value, out bool result);" />
1090      <MemberSignature Language="ILAsm" Value=".method public static hidebysig bool TryParse(string value, bool result) cil managed" />
1091      <MemberType>Method</MemberType>
1092      <AssemblyInfo>
1093        <AssemblyVersion>2.0.0.0</AssemblyVersion>
1094        <AssemblyVersion>4.0.0.0</AssemblyVersion>
1095      </AssemblyInfo>
1096      <ReturnValue>
1097        <ReturnType>System.Boolean</ReturnType>
1098      </ReturnValue>
1099      <Parameters>
1100        <Parameter Name="value" Type="System.String" />
1101        <Parameter Name="result" Type="System.Boolean&amp;" RefType="out" />
1102      </Parameters>
1103      <Docs>
1104        <param name="value">To be added.</param>
1105        <param name="result">To be added.</param>
1106        <summary>To be added.</summary>
1107        <returns>To be added.</returns>
1108        <remarks>To be added.</remarks>
1109        <since version=".NET 2.0" />
1110      </Docs>
1111    </Member>
1112  </Members>
1113  <TypeExcluded>0</TypeExcluded>
1114</Type>