System::TimeSpan::operator-= 方法

TimeSpan::operator-= method

将当前对象的时间间隔赋值为从当前对象表示的时间间隔中减去指定对象表示的时间间隔后的结果。

TimeSpan & System::TimeSpan::operator-=(TimeSpan value)
参数类型描述
valueTimeSpan用于表示要减去的时间间隔的 TimeSpan 对象

ReturnValue

对自身的引用

另见