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.ToByte (SByte)

Converts an SByte to an 8-bit unsigned byte.

[Visual Basic]
Overloads Public Shared Function ToByte( _
   ByVal value As SByte _
) As Byte
[C#]
public static byte ToByte(
   sbyte value
);
[C++]
public: static unsigned char ToByte(
   char value
);
[JScript]
public static function ToByte(
   value : SByte
) : Byte;

Parameters

value
The number to be converted.

Return Value

The converted value as a Byte .

Exceptions

Exception Type Condition
OverflowException The value is less than Byte.MinValue.

See Also

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