DatePrototype.setMonth(Object, Double, Object) Methode

Definition

Legt den Monatswert eines auf DateObject den angegebenen Monatswert fest.

Diese API unterstützt die Produktinfrastruktur und ist nicht für die direkte Verwendung aus Ihrem Code gedacht.

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

Parameter

thisob
Object

Das Objekt, auf das diese Methode ausgeführt wird.

dmonth
Double

Der für thisob.

date
Object

Der datumswert, für thisobden festgelegt werden soll.

Gibt zurück

Der neue Wert nach thisob dem Festlegen des Werts.

Attribute

Gilt für:

Weitere Informationen