CustomerEventCompareTo Method |
Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
Namespace:
Aspose.Email.PersonalInfo
Assembly:
Aspose.Email (in Aspose.Email.dll) Version: 20.2
Syntaxpublic virtual int CompareTo(
CustomerEvent obj
)
Public Overridable Function CompareTo (
obj As CustomerEvent
) As Integer
public:
virtual int CompareTo(
CustomerEvent^ obj
)
abstract CompareTo :
obj : CustomerEvent -> int
override CompareTo :
obj : CustomerEvent -> int
Parameters
- obj
- Type: Aspose.Email.PersonalInfoCustomerEvent
An object to compare with this instance, or null.
Return Value
Type:
Int32
This method returns:
a value less than 0 if this is less than value
0 if this is equal to value
a value greater than 0 if this is greater than value
Implements
IComparableTCompareTo(T)
See Also