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

Tanım

ay DateObject değerini 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 işlem yaptığı nesne.

dmonth
Double

için thisobayarlanacağı ay değeri.

date
Object

için thisobayarlanacağı tarih değeri.

Döndürülenler

Değeri thisob ayarlandıktan sonra değerinin yeni değeri.

Öznitelikler

Şunlara uygulanır

Ayrıca bkz.