Click or drag to resize
MimeKit

InternetAddressCompareTo Method

Compares two internet addresses.

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

Parameters

other  InternetAddress
The internet address to compare to.

Return Value

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