DatePrototype.valueOf(Object) 方法

定义

返回指定 DateObject 的值。Returns the value of the specified DateObject.

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

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

参数

thisob
Object

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

返回

Double

thisob 的值。The value of thisob.

属性

适用于

另请参阅