System::TimeSpan::CompareTo method
Contenido
[
Ocultar
]TimeSpan::CompareTo(const SharedPtr<Object>&) const method
Compara el objeto actual y el objeto especificado.
int System::TimeSpan::CompareTo(const SharedPtr<Object> &obj) const
| Parámetro | Tipo | Descripción |
|---|---|---|
| obj | const SharedPtr<Object>& | El objeto TimeSpan con el que comparar el objeto actual |
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
Ver también
- Typedef SharedPtr
- Class Object
- Class TimeSpan
- Namespace System
- Library Aspose.Page for C++
TimeSpan::CompareTo(TimeSpan) const method
Compara el objeto actual y el objeto especificado.
int System::TimeSpan::CompareTo(TimeSpan value) const
| Parámetro | Tipo | Descripción |
|---|---|---|
| value | TimeSpan | El objeto TimeSpan con el que comparar el objeto actual |
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
Ver también
- Class TimeSpan
- Class TimeSpan
- Namespace System
- Library Aspose.Page for C++