Bridge

DateTime..::..AddTicks Method

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

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

Syntax


[TemplateAttribute]
public DateTime AddTicks(
	long value
)
<TemplateAttribute> _
Public Function AddTicks ( _
	value As Long _
) As DateTime
[TemplateAttribute]
public:
DateTime^ AddTicks(
	long long^ value
)

Parameters

value
Type: System..::..Int64
A number of 100-nanosecond ticks. The value parameter can be positive or negative.

Return Value

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

Exceptions


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