System::TimeSpan::Equals 方法
TimeSpan::Equals(const SharedPtr<Object>&) const method
确定当前对象表示的时间间隔是否等于指定对象表示的时间间隔。
bool System::TimeSpan::Equals(const SharedPtr<Object> &obj) const
| 参数 | 类型 | 描述 |
|---|---|---|
| obj | const SharedPtr<Object>& | 用于与当前对象比较的 TimeSpan 对象 |
ReturnValue
如果当前对象和指定对象表示相同的时间间隔,则为 true;否则为 false。
另见
- Typedef SharedPtr
- Class Object
- Class TimeSpan
- Namespace System
- Library Aspose.Font for C++
TimeSpan::Equals(TimeSpan) const method
确定当前对象表示的时间间隔是否等于指定对象表示的时间间隔。
bool System::TimeSpan::Equals(TimeSpan value) const
| 参数 | 类型 | 描述 |
|---|---|---|
| value | TimeSpan | 用于与当前对象比较的 TimeSpan 对象 |
ReturnValue
如果当前对象和指定对象表示相同的时间间隔,则为 true;否则为 false。
另见
- Class TimeSpan
- Class TimeSpan
- Namespace System
- Library Aspose.Font for C++
TimeSpan::Equals(TimeSpan, TimeSpan) method
如果指定对象表示相同的时间间隔,则返回 true;否则返回 false。
static constexpr bool System::TimeSpan::Equals(TimeSpan a, TimeSpan b)
另见
- Class TimeSpan
- Class TimeSpan
- Namespace System
- Library Aspose.Font for C++