View Article

Convert Class ToBoolean() Overrides

By Xelence Documentation posted 03-05-2024 05:12

  

Note: The following methods always throw InvalidCaseException: 

  • ToBoolean(Char)
  • ToBoolean(DateTime)



ToBoolean(Boolean)

  • Parameters:
    • Value: Byte
  • Return Type: Boolean
  • Description: Returns the specified Boolean value (does not perform any conversion).



ToBoolean(Byte)

  • Parameters:
    • Value: Byte
  • Return Type: Boolean
  • Description: Converts the value of the specified 8-bit unsigned integer to an equivalent Boolean value.



ToBoolean(Decimal)

  • Parameters:
    • Value: Decimal
  • Return Type: Boolean
  • Description: Converts the value of the specified decimal number to an equivalent Boolean value.



ToBoolean(Double)

  • Parameters:
    • Value: Double
  • Return Type: Boolean
  • Description: Converts the specified double-precision floating-point number to an equivalent Boolean value.



ToBoolean(Int16)

  • Parameters:
    • Value: Int16
  • Return Type: Boolean
  • Description: Converts the value of the specified 16-bit signed integer to an equivalent Boolean value.



ToBoolean(Int32)

  • Parameters:
    • Value: Int32
  • Return Type: Boolean
  • Description: Converts the value of the specified 32-bit signed integer to an equivalent Boolean value.



ToBoolean(Int64)

  • Parameters:
    • Value: Int64
  • Return Type: Boolean
  • Description: Converts the value of the specified 64-bit signed integer to an equivalent Boolean value.



ToBoolean(Object)

  • Parameters:
    • Value: Object
  • 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:
    • Value: SByte
  • Return Type: Boolean
  • Description: Converts the value of the specified 8-bit signed integer to an equivalent Boolean value.



ToBoolean(Single)

  • Parameters:
    • Value: Single
  • Return Type: Boolean
  • Description: Converts the value of the specified single-precision floating-point number to an equivalent Boolean value.



ToBoolean(String)

  • Parameters:
    • Value: String
  • 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:
    • Value: UInt16
  • Return Type: Boolean
  • Description: Converts the value of the specified 16-bit unsigned integer to an equivalent Boolean value.



ToBoolean(UInt32)

  • Parameters:
    • Value: UInt32
  • Return Type: Boolean
  • Description: Converts the value of the specified 32-bit unsigned integer to an equivalent Boolean value.



ToBoolean(UInt64)

  • Parameters:
    • Value: UInt64
  • Return Type: Boolean
  • Description: Converts the value of the specified 64-bit unsigned integer to an equivalent Boolean value.


#Rules

0 comments
21 views