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