System::TimeSpan::CompareTo method
Contenuti
[
Nascondere
]TimeSpan::CompareTo(const SharedPtr<Object>&) const method
Confronta l’oggetto corrente e quello specificato.
int System::TimeSpan::CompareTo(const SharedPtr<Object> &obj) const
| Parametro | Tipo | Descrizione |
|---|---|---|
| obj | const SharedPtr<Object>& | L’oggetto TimeSpan da confrontare con l’oggetto corrente |
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
Vedi anche
- Typedef SharedPtr
- Class Object
- Class TimeSpan
- Namespace System
- Library Aspose.Font for C++
TimeSpan::CompareTo(TimeSpan) const method
Confronta l’oggetto corrente e quello specificato.
int System::TimeSpan::CompareTo(TimeSpan value) const
| Parametro | Tipo | Descrizione |
|---|---|---|
| value | TimeSpan | L’oggetto TimeSpan da confrontare con l’oggetto corrente |
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
Vedi anche
- Class TimeSpan
- Class TimeSpan
- Namespace System
- Library Aspose.Font for C++