DatePrototype.setHours(Object, Double, Object, Object, Object) 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 setHours(System::Object ^ thisob, double dhour, System::Object ^ min, System::Object ^ sec, System::Object ^ msec);
[Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.HasThisObject, Microsoft.JScript.JSBuiltin.Date_setHours)]
public static double setHours(object thisob, double dhour, object min, object sec, object msec);
[<Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.HasThisObject, Microsoft.JScript.JSBuiltin.Date_setHours)>]
static member setHours : obj * double * obj * obj * obj -> double
Public Shared Function setHours (thisob As Object, dhour As Double, min As Object, sec As Object, msec As Object) As Double

Parametreler

thisob
Object

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

dhour
Double

için thisobayarlanacağı saat değeri.

min
Object

için thisobayarlanacağı dakika değeri.

sec
Object

için thisobayarlanacağı saniye değeri.

msec
Object

için thisobayarlanacağı milisaniye değeri.

Döndürülenler

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

Öznitelikler

Şunlara uygulanır

Ayrıca bkz.