CompareTo

CompareTo

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.

Returns: 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

CompareTo(System::SharedPtr < EmailAddress > obj)
ParameterDescription
objAn object to compare with this instance, or null.