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.Font 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.Font for C++