System::TimeSpan::operator- method

TimeSpan::operator-() const method

Returns a new instance of TimeSpan object that represents negated value represented by the current TimeSpan object.

TimeSpan System::TimeSpan::operator-() const

See Also

TimeSpan::operator-(TimeSpan) const method

Returns a new instance of TimeSpan class that represents a time interval which is the result of subtraction of the time interval represented by the specified object from the time interval represented by the current object.

TimeSpan System::TimeSpan::operator-(TimeSpan value) const
ParameterTypeDescription
valueTimeSpanThe TimeSpan object that represents the time interval to subtract

ReturnValue

A new instance of TimeSpan class that represents a time interval which is the result of subtraction of the time interval represented by the specified object from the time interval represented by the current object.

See Also