IComparer interface implementation. Compares two instances of ImapMessageInfo.

Namespace:  Rebex.Net
Assembly:  Rebex.Imap (in Rebex.Imap.dll)

Syntax

Visual Basic
Public Function Compare ( _
	x As Object, _
	y As Object _
) As Integer
C#
public int Compare(
	Object x,
	Object y
)

Parameters

x
Type: System..::..Object
First object to compare.
y
Type: System..::..Object
Second object to compare.

Return Value

Value greater than zero when x is greater then y, zero when they are equal a or less than zero when x is lesser than y.

Implements

IComparer..::..Compare(Object, Object)

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also