Метод System::TimeSpan::CompareTo
Содержание
[
Скрывать
]TimeSpan::CompareTo(const SharedPtr<Object>&) const method
Сравнивает текущий и указанный объекты.
int System::TimeSpan::CompareTo(const SharedPtr<Object> &obj) const
| Параметр | Тип | Описание |
|---|---|---|
| obj | const SharedPtr<Object>& | Объект TimeSpan для сравнения с текущим объектом |
ReturnValue
-1 if the current object represents the interval that is shorter than value; 0 if the current object represents the interval that is equal to value; 1 if the current object represents the interval that is longer than value
См. также
- Typedef SharedPtr
- Class Object
- Class TimeSpan
- Namespace System
- Library Aspose.Page for C++
TimeSpan::CompareTo(TimeSpan) const method
Сравнивает текущий и указанный объекты.
int System::TimeSpan::CompareTo(TimeSpan value) const
| Параметр | Тип | Описание |
|---|---|---|
| value | TimeSpan | Объект TimeSpan для сравнения с текущим объектом |
ReturnValue
-1 if the current object represents the interval that is shorter than value; 0 if the current object represents the interval that is equal to value; 1 if the current object represents the interval that is longer than value
См. также
- Class TimeSpan
- Class TimeSpan
- Namespace System
- Library Aspose.Page for C++