operator+()

TimeSpan::operator+(TimeSpan) const method

Returns a new instance of TimeSpan class that represents a time interval which is the sum of the time intervals represented by the current and the specified objects.

TimeSpan System::TimeSpan::operator+(TimeSpan value) const

Arguments

ParameterTypeDescription
valueTimeSpanThe TimeSpan object that represents the time interval to add

Return Value

A new instance of TimeSpan class that represents a time interval which is the sum of the time intervals represented by the current and the specified objects.

TimeSpan::operator+() const method

Returns self.

TimeSpan System::TimeSpan::operator+() const

See Also