Compares the current ERecSortKey to the specified ERecSortKeyobject.

Namespace: Endeca.Navigation
Assembly: Endeca.Navigation (in Endeca.Navigation.dll) Version: 6.2.0.0 (0.0.0.0)

Syntax

C#
public virtual int CompareTo(
	Object obj
)
Visual Basic
Public Overridable Function CompareTo ( _
	obj As Object _
) As Integer
Visual C++
public:
virtual int CompareTo(
	Object^ obj
)

Parameters

obj
Type: System..::..Object
The object to compare with the current object.

Return Value

Returns 1 if the key of the current object is greater than the key of the sent in object. Returns -1 if the key of the current object is less than the key of the sent in object. Otherwise, this method returns the result of comparing the names of the sort keys.

Implements

IComparable..::..CompareTo(Object)

See Also