System::TimeSpan::Subtract 方法

TimeSpan::Subtract method

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

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

ReturnValue

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

另见