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.ToUInt64 (Boolean)

Converts a Boolean to a UInt64.

[Visual Basic]
Overloads Public Shared Function ToUInt64( _
   ByVal value As Boolean _
) As UInt64
[C#]
public static ulong ToUInt64(
   bool value
);
[C++]
public: static unsigned __int64 ToUInt64(
   bool value
);
[JScript]
public static function ToUInt64(
   value : Boolean
) : UInt64;

Parameters

value
The value to convert.

Return Value

The number 1 if value is true; otherwise, 0.

See Also

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