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

