metode System::TimeSpan::CompareTo
isi
[
bersembunyi
]TimeSpan::CompareTo(const SharedPtr<Object>&) const method
Membandingkan objek saat ini dengan objek yang ditentukan.
int System::TimeSpan::CompareTo(const SharedPtr<Object> &obj) const
| Parameter | Tipe | Deskripsi |
|---|---|---|
| obj | const SharedPtr<Object>& | Objek TimeSpan untuk membandingkan dengan objek saat ini. |
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
Lihat Juga
- Typedef SharedPtr
- Class Object
- Class TimeSpan
- Namespace System
- Library Aspose.Page for C++
TimeSpan::CompareTo(TimeSpan) const method
Membandingkan objek saat ini dengan objek yang ditentukan.
int System::TimeSpan::CompareTo(TimeSpan value) const
| Parameter | Tipe | Deskripsi |
|---|---|---|
| value | TimeSpan | Objek TimeSpan untuk membandingkan dengan objek saat ini. |
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
Lihat Juga
- Class TimeSpan
- Class TimeSpan
- Namespace System
- Library Aspose.Page for C++