ערוך

שתף באמצעות


DecimalType.FromBoolean(Boolean) Method

Definition

Returns a Decimal value that corresponds to the specified Boolean value.

This API supports the product infrastructure and is not intended to be used directly from your code.

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

Parameters

Value
Boolean

Required. Boolean value to convert to a Decimal value.

Returns

The Decimal value that corresponds to Value.

Remarks

This class supports the Visual Basic compiler and is not intended to be used directly from your code.

Applies to