System::TimeSpan::operator== 方法

TimeSpan::operator==(std::nullptr_t) const method

bool System::TimeSpan::operator==(std::nullptr_t) const

另见

TimeSpan::operator==(TimeSpan) const method

确定当前对象表示的时间间隔是否等于指定对象表示的时间间隔。

bool System::TimeSpan::operator==(TimeSpan value) const
参数类型描述
valueTimeSpan用于与当前对象比较的 TimeSpan 对象

ReturnValue

如果当前对象和指定对象表示相同的时间间隔,则为 true;否则为 false。

另见