DatePrototype.setFullYear(Object, Double, Object, Object) Metoda

Definicja

Ustawia wartość roku na DateObject określoną wartość roku.

Ten interfejs API obsługuje infrastrukturę produktu i nie jest przeznaczony do użycia bezpośrednio z poziomu kodu.

public:
 static double setFullYear(System::Object ^ thisob, double dyear, System::Object ^ month, System::Object ^ date);
[Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.HasThisObject, Microsoft.JScript.JSBuiltin.Date_setFullYear)]
public static double setFullYear (object thisob, double dyear, object month, object date);
[<Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.HasThisObject, Microsoft.JScript.JSBuiltin.Date_setFullYear)>]
static member setFullYear : obj * double * obj * obj -> double
Public Shared Function setFullYear (thisob As Object, dyear As Double, month As Object, date As Object) As Double

Parametry

thisob
Object

Obiekt, na który działa ta metoda.

dyear
Double

Wartość roku, która ma zostać ustawiona dla thisobelementu .

month
Object

Wartość miesiąca, która ma zostać ustawiona dla thisobelementu .

date
Object

Wartość daty ustawiona dla thisobelementu .

Zwraca

Wartość roku ustawiona dla thisobelementu .

Atrybuty

Dotyczy

Zobacz też