StringType.FromBoolean(Boolean) 方法

定義

回傳 String 一個對應於指定 Boolean值的值。

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

public:
 static System::String ^ FromBoolean(bool Value);
public static string FromBoolean(bool Value);
static member FromBoolean : bool -> string
Public Function FromBoolean (Value As Boolean) As String
Public Shared Function FromBoolean (Value As Boolean) As String

參數

Value
Boolean

必須的。 Boolean 轉換成一個 String 數值。

傳回

對應於的Value值。String

備註

這門課支援 Visual Basic 編譯器,並非直接從你的程式碼中使用。

適用於