DecimalType.FromBoolean(Boolean) 方法

定義

傳回對應於指定之 Decimal 值的 Boolean 值。

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

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

參數

Value
Boolean

必要。 要轉換為 Boolean 值的 Decimal 値。

傳回

對應於 ValueDecimal 值。

備註

這個類別支援 Visual Basic 編譯程式,並不適合直接從您的程式代碼使用。

適用於