System::DateTimeOffset::operator+ method

DateTimeOffset::operator+ method

Returns a new instance of DateTimeOffset class that represents the date and time value that is the sum of the value represented by the current object and the specified time span.

DateTimeOffset System::DateTimeOffset::operator+(TimeSpan value) const
ParameterTypeDescription
valueTimeSpanThe time span to add to the value represented by the current object

ReturnValue

A new instance of DateTimeOffset class that represents the date and time value that is the sum of the value represented by the current object and value.

See Also