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

Convert a Boolean to an Int64.

[Visual Basic]
Overloads Public Shared Function ToInt64( _
   ByVal value As Boolean _
) As Long
[C#]
public static long ToInt64(
   bool value
);
[C++]
public: static __int64 ToInt64(
   bool value
);
[JScript]
public static function ToInt64(
   value : Boolean
) : long;

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.ToInt64 Overload List