System::TimeSpan::Subtract 方法

TimeSpan::Subtract method

返回一个新的 TimeSpan 类实例,表示从当前对象的时间间隔中减去指定对象的时间间隔后的结果。

TimeSpan System::TimeSpan::Subtract(TimeSpan value) const
ParameterType描述
valueTimeSpan表示要减去的时间间隔的 TimeSpan 对象

ReturnValue

一个新的 TimeSpan 类实例,表示从当前对象的时间间隔中减去指定对象的时间间隔后的结果。

另见