DatePrototype.setMonth Method (Object, Double, Object)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

This API supports the product infrastructure and is not intended to be used directly from your code.

Sets the month value of a DateObject to the specified month value.

Namespace:   Microsoft.JScript
Assembly:  Microsoft.JScript (in Microsoft.JScript.dll)

[JSFunctionAttribute(JSFunctionAttributeEnum.HasThisObject, JSBuiltin.Date_setMonth)]
public static double setMonth(
	object thisob,
	double dmonth,
	object date
)

Parameters

thisob
Type: System.Object

The object that this method is acting upon.

dmonth
Type: System.Double

The month value to set for thisob.

date
Type: System.Object

The date value to set for thisob.

Return Value

Type: System.Double

The new value of thisob after the value is set.

.NET Framework
Available since 1.1
Return to top
Show: