DatePrototype.setDate(Object, Double) Yöntem

Tanım

Değerinin DateObject tarih değerini belirtilen tarih değerine ayarlar.

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

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

Parametreler

thisob
Object

Bu yöntemin üzerinde işlem yaptığı nesne.

ddate
Double

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.