Convert.ToBoolean Method (UInt64)

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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

This API is not CLS-compliant.

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

Syntax

<CLSCompliantAttribute(False)> _
Public Shared Function ToBoolean ( _
    value As ULong _
) As Boolean
[CLSCompliantAttribute(false)]
public static bool ToBoolean(
    ulong value
)

Parameters

Return Value

Type: System..::.Boolean
true if value is not zero; otherwise, false.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Platforms

Windows Phone

See Also

Reference

Convert Class

ToBoolean Overload

System Namespace

UInt64