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

Converts a UInt16 to a Boolean.

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

Parameters

value
The UInt16 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