DatePrototype.setSeconds(Object, Double, Object) Metod

Definition

Anger sekundvärdet för ett DateObject till det angivna sekundvärdet.

Detta API stöder produktinfrastrukturen och är inte avsett att användas direkt från koden.

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

Parametrar

thisob
Object

Det objekt som den här metoden agerar på.

dsec
Double

Sekundvärdet som ska anges för thisob.

msec
Object

Millisekundersvärdet som ska anges för thisob.

Returer

Det nya värdet för thisob efter att värdet har angetts.

Attribut

Gäller för

Se även