DatePrototype.setHours(Object, Double, Object, Object, Object) Metodo

Definizione

Imposta il valore delle ore di un oggetto DateObject sul valore delle ore specificato.

Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice.

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

Parametri

thisob
Object

Oggetto su cui agisce questo metodo.

dhour
Double

Valore delle ore da impostare per thisob.

min
Object

Valore dei minuti da impostare per thisob.

sec
Object

Valore dei secondi da impostare per thisob.

msec
Object

Valore dei millisecondi da impostare per thisob.

Restituisce

Double

Nuovo valore di thisob dopo l'impostazione del valore.

Attributi

Si applica a

Vedi anche