System::TimeSpan::operator-= method

TimeSpan::operator-= method

Assigns to the current object the 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)
ParameterTypeDescription
valueTimeSpanThe TimeSpan object that represents the time interval to subtract

ReturnValue

A reference to the self

See Also