DatePrototype.setTime(Object, Double) Metod

Definition

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

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

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

Parametrar

thisob
Object

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

time
Double

Tidsvä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