DatePrototype.setMinutes(Object, Double, Object, Object) 方法

定义

DateObject 的分钟值设置为指定的分钟值。Sets the minutes value of a DateObject to the specified minutes value.

此 API 支持产品基础结构,不能在代码中直接使用。

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

参数

thisob
Object

此方法所作用于的对象。The object that this method is acting upon.

dmin
Double

要为 thisob 设置的分钟值。The minutes value to set for thisob.

sec
Object

要为 thisob 设置的秒钟值。The seconds value to set for thisob.

msec
Object

要为 thisob 设置的毫秒值。The milliseconds value to set for thisob.

返回

Double

设置该值后 thisob 的新值。The new value of thisob after the value is set.

属性

适用于

另请参阅