Export (0) Print
Expand All

Convert.ToBoolean Method

Converts a specified value to an equivalent Boolean value.

Name Description
Convert.ToBoolean (Boolean) Returns the specified Boolean value; no actual conversion is performed.

Supported by the .NET Compact Framework.

Convert.ToBoolean (Byte) Converts the value of the specified 8-bit unsigned integer to an equivalent Boolean value.

Supported by the .NET Compact Framework.

Convert.ToBoolean (Char) Calling this method always throws InvalidCastException.

Supported by the .NET Compact Framework.

Convert.ToBoolean (DateTime) Calling this method always throws InvalidCastException.
Convert.ToBoolean (Decimal) Converts the value of the specified Decimal number to an equivalent Boolean value.

Supported by the .NET Compact Framework.

Convert.ToBoolean (Double) Converts the value of the specified double-precision floating point number to an equivalent Boolean value.

Supported by the .NET Compact Framework.

Convert.ToBoolean (Int16) Converts the value of the specified 16-bit signed integer to an equivalent Boolean value.

Supported by the .NET Compact Framework.

Convert.ToBoolean (Int32) Converts the value of the specified 32-bit signed integer to an equivalent Boolean value.

Supported by the .NET Compact Framework.

Convert.ToBoolean (Int64) Converts the value of the specified 64-bit signed integer to an equivalent Boolean value.

Supported by the .NET Compact Framework.

Convert.ToBoolean (Object) Converts the value of a specified Object to an equivalent Boolean value.

Supported by the .NET Compact Framework.

Convert.ToBoolean (SByte) Converts the value of the specified 8-bit signed integer to an equivalent Boolean value.

Supported by the .NET Compact Framework.

Convert.ToBoolean (Single) Converts the value of the specified single-precision floating point number to an equivalent Boolean value.

Supported by the .NET Compact Framework.

Convert.ToBoolean (String) Converts the specified String representation of a logical value to its Boolean equivalent.

Supported by the .NET Compact Framework.

Convert.ToBoolean (UInt16) Converts the value of the specified 16-bit unsigned integer to an equivalent Boolean value.

Supported by the .NET Compact Framework.

Convert.ToBoolean (UInt32) Converts the value of the specified 32-bit unsigned integer to an equivalent Boolean value.

Supported by the .NET Compact Framework.

Convert.ToBoolean (UInt64) Converts the value of the specified 64-bit unsigned integer to an equivalent Boolean value.

Supported by the .NET Compact Framework.

Convert.ToBoolean (Object, IFormatProvider) Converts the value of the specified Object to an equivalent Boolean value using the specified culture-specific formatting information.

Supported by the .NET Compact Framework.

Convert.ToBoolean (String, IFormatProvider) Converts the specified String representation of a logical value to its Boolean equivalent using the specified culture-specific formatting information.

Supported by the .NET Compact Framework.

Community Additions

ADD
Show:
© 2014 Microsoft