Share via


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

Tanım

saniye DateObject değerini belirtilen saniye değerine ayarlar.

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

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

Parametreler

thisob
Object

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

dsec
Double

için thisobayarlanacağı saniye değeri.

msec
Object

için thisobayarlanacağı milisaniye değeri.

Döndürülenler

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

Öznitelikler

Şunlara uygulanır

Ayrıca bkz.