[This is preliminary documentation and is subject to change.]

Implements the compare method for the IComparer Interface

Namespace:  OfficeClip.BusinessLayer.Desktop
Assembly:  OfficeClip.BusinessLayer (in OfficeClip.BusinessLayer)
Version: 8.1.1.0

Syntax

C#
public int Compare(
	Object o1,
	Object o2
)
Visual Basic (Declaration)
Public Function Compare ( _
	o1 As Object, _
	o2 As Object _
) As Integer
Visual C++
public:
virtual int Compare(
	Object^ o1, 
	Object^ o2
) sealed

Parameters

o1
Type: System..::.Object
First object to compare.
o2
Type: System..::.Object
Second object to compare.

Return Value

-1 if object is less, 0 if equal, 1 if greater.

Implements

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

See Also