DatePrototype.setDate(Object, Double) Metod

Definition

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

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

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

Parametrar

thisob
Object

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

ddate
Double

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