編輯

共用方式為


DatePrototype.setMinutes(Object, Double, Object, Object) Method

Definition

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

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

public:
 static double setMinutes(System::Object ^ thisob, double dmin, System::Object ^ sec, System::Object ^ msec);
[Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.HasThisObject, Microsoft.JScript.JSBuiltin.Date_setMinutes)]
public static double setMinutes (object thisob, double dmin, object sec, object msec);
[<Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.HasThisObject, Microsoft.JScript.JSBuiltin.Date_setMinutes)>]
static member setMinutes : obj * double * obj * obj -> double
Public Shared Function setMinutes (thisob As Object, dmin As Double, sec As Object, msec As Object) As Double

Parameters

thisob
Object

The object that this method is acting upon.

dmin
Double

The minutes value to set for thisob.

sec
Object

The seconds value to set for thisob.

msec
Object

The milliseconds value to set for thisob.

Returns

The new value of thisob after the value is set.

Attributes

Applies to

See also