Compares two objects returns an indication of their relative values.

Namespace:  Novalys.VisualGuard.Security.Membership
Assembly:  Novalys.VisualGuard.Security (in Novalys.VisualGuard.Security.dll) Version: 3.2.912.1 (3.2.912.01)

Syntax

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

Parameters

x
Type: System..::.Object
the object to compare.
y
Type: System..::.Object
the object to compare.

Return Value

Less than zero when x is less than y. Zero when x equals y. Greater than zero when x is greater than y.

Implements

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

See Also