DatePrototype.setMilliseconds(Object, Double) 方法

定義

將 a DateObject 的毫秒值設為指定的毫秒值。

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

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

參數

thisob
Object

這個方法作用的對象。

dmsec
Double

為 設定 thisob的毫秒值。

傳回

在設定值後,新的 thisob 值。

屬性

適用於

另請參閱