Converts an SByte to a UInt16.
[Visual Basic] Overloads Public Shared Function ToUInt16( _ ByVal value As SByte _ ) As UInt16 [C#] public static ushort ToUInt16( sbyte value ); [C++] public: static unsigned short ToUInt16( char value ); [JScript] public static function ToUInt16( value : SByte ) : UInt16;
The converted value.
Exception Type | Condition |
---|---|
OverflowException | is thrown if value is less than UInt16.MinValue. |
Convert Class | Convert Members | System Namespace | Convert.ToUInt16 Overload List