DatePrototype.setHours(Object, Double, Object, Object, Object) Metodo
Definizione
Imposta il valore delle ore di un oggetto DateObject sul valore delle ore specificato.Sets the hour value of a DateObject to the specified hour value.
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.The object that this method is acting upon.
- dhour
- Double
Valore delle ore da impostare per thisob
.The hour value to set for thisob
.
- min
- Object
Valore dei minuti da impostare per thisob
.The minutes value to set for thisob
.
- sec
- Object
Valore dei secondi da impostare per thisob
.The seconds value to set for thisob
.
- msec
- Object
Valore dei millisecondi da impostare per thisob
.The milliseconds value to set for thisob
.
Restituisce
Nuovo valore di thisob
dopo l'impostazione del valore.The new value of thisob
after the value is set.
- Attributi