View Article

Convert Class ToByte() Overrides

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

  

Note: The following method always throws InvalidCaseException: 

  • ToByte(DateTime)



ToByte(String)

  • Parameters:
    • Value: String
  • Return Type: Byte
  • Description: Converts the specified string representation of a number to an equivalent 8-bit unsigned integer.



ToByte(UInt16)

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



ToByte(UInt32)

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



ToByte(String, Int32)

  • Parameters:
    • Value: String
    • FromBase: Int32
  • Return Type: Byte
  • Description: Converts the string representation of a number in a specified base to an equivalent 8-bit unsigned integer.



ToByte(Object, IFormatProvider)

  • Parameters:
    • Value: Object
    • Provider: IFormatProvider
  • Return Type: Byte
  • Description: Converts the value of the specified object to an 8-bit unsigned integer, using the specified culture-specific formatting information.



ToByte(String, IFormatProvider)

  • Parameters:
    • Value: String
    • Provider: IFormatProvider
  • Return Type: Byte
  • Description: Converts the specified string representation of a number to an equivalent 8-bit unsigned integer, using specified culture-specific formatting information.



ToByte(Single)

  • Parameters:
    • Value: Single
  • Return Type: Byte
  • Description: Converts the value of the specified single-precision floating-point number to an equivalent 8-bit unsigned integer.



ToByte(UInt64)

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



ToByte(SByte)

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



ToByte(Decimal)

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



ToByte(Int64)

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



ToByte(Char)

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



ToByte(Boolean)

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



ToByte(Double)

  • Parameters:
    • Value: Double
  • Return Type: Byte
  • Description: Converts the value of the specified double-precision floating-point number to an equivalent 8-bit unsigned integer.



ToByte(Int16)

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



ToByte(Int32)

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



ToByte(Object)

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




#Rules

0 comments
12 views