Export (0) Print
Expand All

Convert.ToBoolean Method

Converts a specified value to an equivalent Boolean value.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 ToBoolean(Boolean) Returns the specified Boolean value; no actual conversion is performed.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 ToBoolean(Byte) Converts the value of the specified 8-bit unsigned integer to an equivalent Boolean value.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 ToBoolean(Char) Calling this method always throws InvalidCastException.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 ToBoolean(Decimal) Converts the value of the specified Decimal number to an equivalent Boolean value.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 ToBoolean(Double) Converts the value of the specified double-precision floating point number to an equivalent Boolean value.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 ToBoolean(Int16) Converts the value of the specified 16-bit signed integer to an equivalent Boolean value.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 ToBoolean(Int32) Converts the value of the specified 32-bit signed integer to an equivalent Boolean value.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 ToBoolean(Int64) Converts the value of the specified 64-bit signed integer to an equivalent Boolean value.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 ToBoolean(Object) Converts the value of a specified Object to an equivalent Boolean value.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 ToBoolean(SByte) Converts the value of the specified 8-bit signed integer to an equivalent Boolean value.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 ToBoolean(Single) Converts the value of the specified single-precision floating point number to an equivalent Boolean value.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 ToBoolean(String) Converts the specified String representation of a logical value to its Boolean equivalent.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 ToBoolean(UInt16) Converts the value of the specified 16-bit unsigned integer to an equivalent Boolean value.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 ToBoolean(UInt32) Converts the value of the specified 32-bit unsigned integer to an equivalent Boolean value.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 ToBoolean(UInt64) Converts the value of the specified 64-bit unsigned integer to an equivalent Boolean value.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 ToBoolean(Object, IFormatProvider) Converts the value of the specified Object to an equivalent Boolean value using the specified culture-specific formatting information.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 ToBoolean(String, IFormatProvider) Converts the specified String representation of a logical value to its Boolean equivalent using the specified culture-specific formatting information.
Top

Community Additions

ADD
Show:
© 2014 Microsoft