Convert..::..ToByte Method (Object)
Converts the value of the specified object to an 8-bit unsigned integer.
Note: Calling this method for [DateTime] value always throws InvalidCastException.
Namespace:
SystemAssembly: Bridge (in Bridge.dll)
Syntax
[TemplateAttribute] public static byte ToByte( Object value )
<TemplateAttribute> _ Public Shared Function ToByte ( _ value As Object _ ) As Byte
[TemplateAttribute] public: static unsigned char^ ToByte( Object^ value )
Parameters
- value
- Type: System..::..Object