DatePrototype::setYear Method (Object^, Double)
.NET Framework (current version)
This API supports the product infrastructure and is not intended to be used directly from your code.
Sets the year value of a DateObject to the specified year value.
Assembly: Microsoft.JScript (in Microsoft.JScript.dll)
public: [NotRecommended("setYear")] [JSFunctionAttribute(JSFunctionAttributeEnum::HasThisObject, JSBuiltin::Date_setYear)] static double setYear( Object^ thisob, double dyear )
Parameters
- thisob
-
Type:
System::Object^
The object that this method is acting upon.
- dyear
-
Type:
System::Double
The year value to set for thisob.
.NET Framework
Available since 1.1
Available since 1.1
Show: