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 值。

返回

StringValue. 对应的值。

注解

此类支持 Visual Basic 编译器,不打算直接从代码使用。

适用于