DatePrototype.setYear(Object, Double) Methode

Definitie

Hiermee stelt u de jaarwaarde van een DateObject waarde in op de opgegeven jaarwaarde.

Deze API ondersteunt de productinfrastructuur en is niet bedoeld om rechtstreeks vanuit de code te gebruiken.

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

Parameters

thisob
Object

Het object waarop deze methode handelt.

dyear
Double

De jaarwaarde die moet worden ingesteld voor thisob.

Retouren

De nieuwe waarde van thisob nadat de waarde is ingesteld.

Kenmerken

Van toepassing op

Zie ook