DatePrototype.setSeconds(Object, Double, Object) 方法

定義

DateObject 的秒值設定為指定的秒值。

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

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

參數

thisob
Object

這個方法執行位置的物件。

dsec
Double

針對 thisob 設定的秒值。

msec
Object

針對 thisob 設定的毫秒值。

傳回

Double

設定值之後,thisob 的新值。

屬性

適用於

另請參閱