Any suggestions? Export (0) Print
Expand All

Convert.ToBoolean Method

 

Converts a specified value to an equivalent Boolean value.

Namespace:   System
Assembly:  mscorlib (in mscorlib.dll)

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticToBoolean(Boolean)

Returns the specified Boolean value; no actual conversion is performed.

System_CAPS_pubmethodSystem_CAPS_staticToBoolean(Byte)

Converts the value of the specified 8-bit unsigned integer to an equivalent Boolean value.

System_CAPS_pubmethodSystem_CAPS_staticToBoolean(Char)

Calling this method always throws InvalidCastException.

System_CAPS_pubmethodSystem_CAPS_staticToBoolean(DateTime)

Calling this method always throws InvalidCastException.

System_CAPS_pubmethodSystem_CAPS_staticToBoolean(Decimal)

Converts the value of the specified decimal number to an equivalent Boolean value.

System_CAPS_pubmethodSystem_CAPS_staticToBoolean(Double)

Converts the value of the specified double-precision floating-point number to an equivalent Boolean value.

System_CAPS_pubmethodSystem_CAPS_staticToBoolean(Int16)

Converts the value of the specified 16-bit signed integer to an equivalent Boolean value.

System_CAPS_pubmethodSystem_CAPS_staticToBoolean(Int32)

Converts the value of the specified 32-bit signed integer to an equivalent Boolean value.

System_CAPS_pubmethodSystem_CAPS_staticToBoolean(Int64)

Converts the value of the specified 64-bit signed integer to an equivalent Boolean value.

System_CAPS_pubmethodSystem_CAPS_staticToBoolean(Object)

Converts the value of a specified object to an equivalent Boolean value.

System_CAPS_pubmethodSystem_CAPS_staticToBoolean(Object, IFormatProvider)

Converts the value of the specified object to an equivalent Boolean value, using the specified culture-specific formatting information.

System_CAPS_pubmethodSystem_CAPS_staticToBoolean(SByte)

Converts the value of the specified 8-bit signed integer to an equivalent Boolean value.

System_CAPS_pubmethodSystem_CAPS_staticToBoolean(Single)

Converts the value of the specified single-precision floating-point number to an equivalent Boolean value.

System_CAPS_pubmethodSystem_CAPS_staticToBoolean(String)

Converts the specified string representation of a logical value to its Boolean equivalent.

System_CAPS_pubmethodSystem_CAPS_staticToBoolean(String, IFormatProvider)

Converts the specified string representation of a logical value to its Boolean equivalent, using the specified culture-specific formatting information.

System_CAPS_pubmethodSystem_CAPS_staticToBoolean(UInt16)

Converts the value of the specified 16-bit unsigned integer to an equivalent Boolean value.

System_CAPS_pubmethodSystem_CAPS_staticToBoolean(UInt32)

Converts the value of the specified 32-bit unsigned integer to an equivalent Boolean value.

System_CAPS_pubmethodSystem_CAPS_staticToBoolean(UInt64)

Converts the value of the specified 64-bit unsigned integer to an equivalent Boolean value.

Return to top
Show:
© 2016 Microsoft