System::TimeSpan::CompareTo méthode
Contenu
[
Cacher
]TimeSpan::CompareTo(const SharedPtr<Object>&) const method
Compare l’objet actuel et l’objet spécifié.
int System::TimeSpan::CompareTo(const SharedPtr<Object> &obj) const
| Paramètre | Type | Description |
|---|---|---|
| obj | const SharedPtr<Object>& | L’objet TimeSpan avec lequel comparer l’objet actuel |
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
Voir aussi
- Typedef SharedPtr
- Class Object
- Class TimeSpan
- Namespace System
- Library Aspose.Font for C++
TimeSpan::CompareTo(TimeSpan) const method
Compare l’objet actuel et l’objet spécifié.
int System::TimeSpan::CompareTo(TimeSpan value) const
| Paramètre | Type | Description |
|---|---|---|
| value | TimeSpan | L’objet TimeSpan avec lequel comparer l’objet actuel |
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
Voir aussi
- Class TimeSpan
- Class TimeSpan
- Namespace System
- Library Aspose.Font for C++