operator-=()

TimeSpan::operator-=(TimeSpan) 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)

Arguments

ParameterTypeDescription
valueTimeSpanThe TimeSpan object that represents the time interval to subtract

Return Value

A reference to the self

See Also