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 (UInt64)

Converts a UInt64 to a Byte.

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

Parameters

value
A UInt64 value.

Return Value

True if value is non-zero. false otherwise.

Exceptions

Exception Type Condition
OverflowException The value is greater than Byte.MaxValue.

See Also

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