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

Tanım

Değerinin DateObject saat değerini, Eşgüdümlü Evrensel Saat (UTC) ile ifade edilen 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 setUTCHours(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_setUTCHours)]
public static double setUTCHours(object thisob, double dhour, object min, object sec, object msec);
[<Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.HasThisObject, Microsoft.JScript.JSBuiltin.Date_setUTCHours)>]
static member setUTCHours : obj * double * obj * obj * obj -> double
Public Shared Function setUTCHours (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ğer ayarlandıktan sonra değerinin yeni değeri thisob UTC ile ifade edilir.

Öznitelikler

Şunlara uygulanır

Ayrıca bkz.