DateTime..::..AddMinutes Method
Returns a new DateTime that adds the specified number of minutes to the value of this instance.
Namespace:
SystemAssembly: Bridge (in Bridge.dll)
Syntax
[TemplateAttribute] public DateTime AddMinutes( double value )
<TemplateAttribute> _ Public Function AddMinutes ( _ value As Double _ ) As DateTime
[TemplateAttribute] public: DateTime^ AddMinutes( double^ value )
Parameters
- value
- Type: System..::..Double
A number of whole and fractional minutes. The value parameter can be negative or positive.
Return Value
An object whose value is the sum of the date and time represented by this instance and the number of minutes represented by value.Exceptions
Exception | Condition |
---|---|
System..::..ArgumentOutOfRangeException | The resulting DateTime is less than MinValue or greater than MaxValue. |