Export (0) Print
Expand All
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Convert.ToInt64 Method (Boolean)

July 28, 2014

Converts the value of the specified Boolean value to the equivalent 64-bit signed integer.

Namespace:  System
Assembly:  mscorlib (in mscorlib.dll)

public static long ToInt64(
	bool value
)

Parameters

value
Type: System.Boolean
A Boolean value.

Return Value

Type: System.Int64
The number 1 if value is true; otherwise, 0.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2014 Microsoft