Convert::ToBoolean Method
Converts a specified value to an equivalent Boolean value.
Assembly: mscorlib (in mscorlib.dll)
| Name | Description | |
|---|---|---|
![]() ![]() | ToBoolean(Boolean) | Returns the specified Boolean value; no actual conversion is performed. |
![]() ![]() | ToBoolean(Byte) | Converts the value of the specified 8-bit unsigned integer to an equivalent Boolean value. |
![]() ![]() | ToBoolean(Char) | Calling this method always throws InvalidCastException. |
![]() ![]() | ToBoolean(DateTime) | Calling this method always throws InvalidCastException. |
![]() ![]() | ToBoolean(Decimal) | Converts the value of the specified decimal number to an equivalent Boolean value. |
![]() ![]() | ToBoolean(Double) | Converts the value of the specified double-precision floating-point number to an equivalent Boolean value. |
![]() ![]() | ToBoolean(Int16) | Converts the value of the specified 16-bit signed integer to an equivalent Boolean value. |
![]() ![]() | ToBoolean(Int32) | Converts the value of the specified 32-bit signed integer to an equivalent Boolean value. |
![]() ![]() | ToBoolean(Int64) | Converts the value of the specified 64-bit signed integer to an equivalent Boolean value. |
![]() ![]() | ToBoolean(Object^) | Converts the value of a specified object to an equivalent Boolean value. |
![]() ![]() | ToBoolean(Object^, IFormatProvider^) | Converts the value of the specified object to an equivalent Boolean value, using the specified culture-specific formatting information. |
![]() ![]() | ToBoolean(SByte) | Converts the value of the specified 8-bit signed integer to an equivalent Boolean value. |
![]() ![]() | ToBoolean(Single) | Converts the value of the specified single-precision floating-point number to an equivalent Boolean value. |
![]() ![]() | ToBoolean(String^) | Converts the specified string representation of a logical value to its Boolean equivalent. |
![]() ![]() | ToBoolean(String^, IFormatProvider^) | Converts the specified string representation of a logical value to its Boolean equivalent, using the specified culture-specific formatting information. |
![]() ![]() | ToBoolean(UInt16) | Converts the value of the specified 16-bit unsigned integer to an equivalent Boolean value. |
![]() ![]() | ToBoolean(UInt32) | Converts the value of the specified 32-bit unsigned integer to an equivalent Boolean value. |
![]() ![]() | ToBoolean(UInt64) | Converts the value of the specified 64-bit unsigned integer to an equivalent Boolean value. |

