DatePrototype.setSeconds(Object, Double, Object) Methode

Definitie

Hiermee stelt u de secondenwaarde van een DateObject waarde in op de opgegeven secondenwaarde.

Deze API ondersteunt de productinfrastructuur en is niet bedoeld om rechtstreeks vanuit de code te gebruiken.

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

Parameters

thisob
Object

Het object waarop deze methode handelt.

dsec
Double

De waarde voor seconden die moet worden ingesteld voor thisob.

msec
Object

De waarde van milliseconden die moet worden ingesteld voor thisob.

Retouren

De nieuwe waarde van thisob nadat de waarde is ingesteld.

Kenmerken

Van toepassing op

Zie ook