NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

DateTime.AddMinutes

Returns the DateTime result from adding this instance to a fractional number of minutes.

[Visual Basic]
Public Function AddMinutes( _
   ByVal value As Double _
) As DateTime
[C#]
public DateTime AddMinutes(
   double value
);
[C++]
public: DateTime AddMinutes(
   double value
);
[JScript]
public function AddMinutes(
   value : double
) : DateTime;

Parameters

value
A fractional number of minutes.

Return Value

The DateTime results from adding a fractional number of minutes to this instance.

Exceptions

Exception Type Condition
ArgumentOutOfRangeException If the resulting DateTime is outside the supported range.

Remarks

The AddMinutes method is computed by rounding the fractional number of minutes specified by value to the nearest millisecond, then that interval is added to this instance of DateTime.

The value parameter argument can be negative.

See Also

DateTime Structure | DateTime Members | System Namespace | Double | Minute