DatePrototype.setTime(Object, Double) Yöntem

Tanım

değerini DateObject belirtilen saat değerine ayarlar.

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

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

Parametreler

thisob
Object

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

time
Double

için thisobayarlanacağı zaman değeri.

Döndürülenler

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

Öznitelikler

Şunlara uygulanır

Ayrıca bkz.