Bridge

DateTime..::..AddMilliseconds Method

Returns a new DateTime that adds the specified number of milliseconds to the value of this instance.

Namespace:  System
Assembly:  Bridge (in Bridge.dll)

Syntax


[TemplateAttribute]
public DateTime AddMilliseconds(
	double value
)
<TemplateAttribute> _
Public Function AddMilliseconds ( _
	value As Double _
) As DateTime
[TemplateAttribute]
public:
DateTime^ AddMilliseconds(
	double^ value
)

Parameters

value
Type: System..::..Double
A number of whole and fractional milliseconds. The value parameter can be negative or positive. Note that this value is rounded to the nearest integer.

Return Value

An object whose value is the sum of the date and time represented by this instance and the number of milliseconds represented by value.

Exceptions


ExceptionCondition
System..::..ArgumentOutOfRangeExceptionThe resulting DateTime is less than MinValue or greater than MaxValue.