IComparer interface implementation. Compares two instances of FileSystemItem.

Namespace:  Rebex.IO
Assembly:  Rebex.Common (in Rebex.Common.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, 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