DatePrototype.setMilliseconds(Object, Double) Metod

Definition

Anger millisekundersvärdet för en DateObject till det angivna millisekundersvärdet.

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

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

Parametrar

thisob
Object

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

dmsec
Double

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