DatePrototype.setYear(Object, Double) Metodo
Definizione
Imposta il valore dell'anno di un oggetto DateObject sul valore dell'anno specificato.Sets the year value of a DateObject to the specified year value.
Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice.
public:
static double setYear(System::Object ^ thisob, double dyear);
[Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.HasThisObject, Microsoft.JScript.JSBuiltin.Date_setYear)]
[Microsoft.JScript.NotRecommended("setYear")]
public static double setYear (object thisob, double dyear);
[<Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.HasThisObject, Microsoft.JScript.JSBuiltin.Date_setYear)>]
[<Microsoft.JScript.NotRecommended("setYear")>]
static member setYear : obj * double -> double
Public Shared Function setYear (thisob As Object, dyear As Double) As Double
Parametri
- thisob
- Object
Oggetto su cui agisce questo metodo.The object that this method is acting upon.
- dyear
- Double
Valore dell'anno da impostare per thisob
.The year 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