Aracılığıyla paylaş


DatePrototype.setDate(Object, Double) Yöntem

Tanım

A öğesinin tarih değerini DateObject 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 hareket ettığdığı nesne.

ddate
Double

İç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.