BooleanType.FromString(String) 方法

定義

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

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

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

參數

Value
String

必要。 要轉換為 Boolean 值的字串。

傳回

對應於 ValueBoolean 值。

備註

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

適用於