DecimalType.FromBoolean(Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.