DatePrototype.getMonth(Object) Metod

Definition

Hämtar månadsvärdet för den angivna DateObject.

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

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

Parametrar

thisob
Object

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

Returer

Månadsvärdet för thisob.

Attribut

Gäller för

Se även