System::TimeSpan::CompareTo-metod
Innehåll
[
Dölj
]TimeSpan::CompareTo(const SharedPtr<Object>&) const method
Jämför det aktuella och det angivna objektet.
int System::TimeSpan::CompareTo(const SharedPtr<Object> &obj) const
| Parameter | Type | Beskrivning |
|---|---|---|
| obj | const SharedPtr<Object>& | Det TimeSpan-objektet att jämföra det aktuella objektet med |
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
Se även
- Typedef SharedPtr
- Class Object
- Class TimeSpan
- Namespace System
- Library Aspose.Page for C++
TimeSpan::CompareTo(TimeSpan) const method
Jämför det aktuella och det angivna objektet.
int System::TimeSpan::CompareTo(TimeSpan value) const
| Parameter | Type | Beskrivning |
|---|---|---|
| value | TimeSpan | Det TimeSpan-objektet att jämföra det aktuella objektet med |
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
Se även
- Class TimeSpan
- Class TimeSpan
- Namespace System
- Library Aspose.Page for C++