NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Convert.ToSByte (Int64)

Converts an Int64 to an SByte.

[Visual Basic]
Overloads Public Shared Function ToSByte( _
   ByVal value As Long _
) As SByte
[C#]
public static sbyte ToSByte(
   long value
);
[C++]
public: static char ToSByte(
   __int64 value
);
[JScript]
public static function ToSByte(
   value : long
) : SByte;

Parameters

value
The number to be converted.

Return Value

The value as an SByte .

Exceptions

Exception Type Condition
OverflowException is thrown if value is greater than SByte.MaxValue or less than SByte.MinValue.

See Also

Convert Class | Convert Members | System Namespace | Convert.ToSByte Overload List