Note: The following methods always throw InvalidCaseException:
- ToBoolean(Char)
- ToBoolean(DateTime)
ToBoolean(Boolean)
- Parameters:
- Return Type: Boolean
- Description: Returns the specified Boolean value (does not perform any conversion).
ToBoolean(Byte)
- Parameters:
- Return Type: Boolean
- Description: Converts the value of the specified 8-bit unsigned integer to an equivalent Boolean value.
ToBoolean(Decimal)
- Parameters:
- Return Type: Boolean
- Description: Converts the value of the specified decimal number to an equivalent Boolean value.
ToBoolean(Double)
- Parameters:
- Return Type: Boolean
- Description: Converts the specified double-precision floating-point number to an equivalent Boolean value.
ToBoolean(Int16)
- Parameters:
- Return Type: Boolean
- Description: Converts the value of the specified 16-bit signed integer to an equivalent Boolean value.
ToBoolean(Int32)
- Parameters:
- Return Type: Boolean
- Description: Converts the value of the specified 32-bit signed integer to an equivalent Boolean value.
ToBoolean(Int64)
- Parameters:
- Return Type: Boolean
- Description: Converts the value of the specified 64-bit signed integer to an equivalent Boolean value.
ToBoolean(Object)
- Parameters:
- Return Type: Boolean
- Description: Converts the value of the specified object to an equivalent Boolean value.
ToBoolean(Object, IFormatProvider)
- Parameters:
- Value: Object
- Provider: IFormatProvider
- Return Type: Boolean
- Description: Converts the value of the specified object to an equivalent Boolean value, using the specified culture-specific formatting information.
ToBoolean(SByte)
- Parameters:
- Return Type: Boolean
- Description: Converts the value of the specified 8-bit signed integer to an equivalent Boolean value.
ToBoolean(Single)
- Parameters:
- Return Type: Boolean
- Description: Converts the value of the specified single-precision floating-point number to an equivalent Boolean value.
ToBoolean(String)
- Parameters:
- Return Type: Boolean
- Description: Converts the specified string representation of a logical value to its Boolean equivalent.
ToBoolean(String, IFormatProvider)
- Parameters:
- Value: String
- Provider: IFormatProvider
- Return Type: Boolean
- Description: Converts the value of the specified string representation of a logical value to its equivalent Boolean, using the specified culture-specific formatting information.
ToBoolean(UInt16)
- Parameters:
- Return Type: Boolean
- Description: Converts the value of the specified 16-bit unsigned integer to an equivalent Boolean value.
ToBoolean(UInt32)
- Parameters:
- Return Type: Boolean
- Description: Converts the value of the specified 32-bit unsigned integer to an equivalent Boolean value.
ToBoolean(UInt64)
- Parameters:
- Return Type: Boolean
- Description: Converts the value of the specified 64-bit unsigned integer to an equivalent Boolean value.
#Rules