BooleanPrototype.valueOf(Object) 方法

定义

BooleanObjectBoolean 的形式返回指定对象。Returns the specified object as a BooleanObject or a Boolean.

此 API 支持产品基础结构,不能在代码中直接使用。

public:
 static System::Object ^ valueOf(System::Object ^ thisob);
[Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.HasThisObject, Microsoft.JScript.JSBuiltin.Boolean_valueOf)]
public static object valueOf (object thisob);
[<Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.HasThisObject, Microsoft.JScript.JSBuiltin.Boolean_valueOf)>]
static member valueOf : obj -> obj
Public Shared Function valueOf (thisob As Object) As Object

参数

thisob
Object

此方法所作用于的对象。The object that this method is acting upon.

返回

Object

BooleanObjectBoolean 形式的 thisobthisob as a BooleanObject or a Boolean.

属性

适用于

另请参阅