Jaa


CastHelper.ToBoolean Method

Definition

Overloads

ToBoolean(Decimal)
ToBoolean(Int32)
ToBoolean(Int64)
ToBoolean(Object)

ToBoolean(Decimal)

public:
 static bool ToBoolean(System::Decimal _value);
public static bool ToBoolean (decimal _value);
static member ToBoolean : decimal -> bool
Public Shared Function ToBoolean (_value As Decimal) As Boolean

Parameters

_value
Decimal

Returns

Applies to

ToBoolean(Int32)

public:
 static bool ToBoolean(int _value);
public static bool ToBoolean (int _value);
static member ToBoolean : int -> bool
Public Shared Function ToBoolean (_value As Integer) As Boolean

Parameters

_value
Int32

Returns

Applies to

ToBoolean(Int64)

public:
 static bool ToBoolean(long _value);
public static bool ToBoolean (long _value);
static member ToBoolean : int64 -> bool
Public Shared Function ToBoolean (_value As Long) As Boolean

Parameters

_value
Int64

Returns

Applies to

ToBoolean(Object)

public:
 static bool ToBoolean(System::Object ^ _value);
public static bool ToBoolean (object _value);
static member ToBoolean : obj -> bool
Public Shared Function ToBoolean (_value As Object) As Boolean

Parameters

_value
Object

Returns

Applies to