System::TimeSpan::CompareTo μέθοδος
περιεχόμενα
[
κρύβω
]TimeSpan::CompareTo(const SharedPtr<Object>&) const method
Συγκρίνει το τρέχον και το καθορισμένο αντικείμενο.
int System::TimeSpan::CompareTo(const SharedPtr<Object> &obj) const
| Parameter | Type | Περιγραφή |
|---|---|---|
| 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
| Parameter | Type | Περιγραφή |
|---|---|---|
| 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++