ConvertToByte Method (UInt32) |
Converts the value of the specified 32-bit unsigned integer to an equivalent 8-bit unsigned integer.
Namespace: SystemAssembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax public static byte ToByte(
uint value
)
Parameters
- value
- Type: SystemUInt32
The 32-bit unsigned integer to convert.
Return Value
Type:
ByteAn 8-bit unsigned integer that is equivalent to
value.
Exceptions Exception | Condition |
---|
OverflowException | value is greater than MaxValue. |
See Also