Converts an Int16 to an SByte.
[Visual Basic] Overloads Public Shared Function ToSByte( _ ByVal value As Short _ ) As SByte [C#] public static sbyte ToSByte( short value ); [C++] public: static char ToSByte( short value ); [JScript] public static function ToSByte( value : Int16 ) : SByte;
The value as an SByte .
Exception Type | Condition |
---|---|
OverflowException | is thrown if value is greater than SByte.MaxValue or less than SByte.MinValue. |
Convert Class | Convert Members | System Namespace | Convert.ToSByte Overload List