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.ToBoolean (Byte)

Returns false if the number to be converted is 0, otherwise true.

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

Parameters

value
The number to be converted.

Return Value

true if value is non-zero; otherwise, false.

See Also

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