PhoneNumberCompareTo 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
Syntax
public int CompareTo(
	PhoneNumber obj
)

Parameters

obj
Type: Aspose.Email.PersonalInfoPhoneNumber
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