Click or drag to resize
MimeKit

InternetAddressCompareTo Method

Compares two internet addresses.

Namespace:  MimeKit
Assembly:  MimeKit (in MimeKit.dll) Version: 2.2.0
Syntax
C#
public int CompareTo(
	InternetAddress other
)

Parameters

other
Type: MimeKitInternetAddress
The internet address to compare to.

Return Value

Type: Int32
The sort order of the current internet address compared to the other internet address.

Implements

IComparableTCompareTo(T)
Exceptions
ExceptionCondition
ArgumentNullExceptionother is null.
Remarks
Compares two internet addresses for the purpose of sorting.
See Also