Aracılığıyla paylaş


DatePrototype.setMonth(Object, Double, Object) Yöntem

Tanım

A 'nın month değerini DateObject belirtilen ay değerine ayarlar.

Bu API, ürün altyapısını destekler ve doğrudan kodunuzdan kullanıma yönelik değildir.

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

Parametreler

thisob
Object

Bu yöntemin üzerinde hareket ettığdığı nesne.

dmonth
Double

İçin ayarlanacak ay değeri thisob .

date
Object

İçin ayarlanacak tarih değeri thisob .

Döndürülenler

Double

thisobDeğer ayarlandıktan sonra yeni değeri.

Öznitelikler

Şunlara uygulanır

Ayrıca bkz.