Endeca Presentation API
CompareTo Method (obj)
NamespacesEndeca.NavigationERecSortKeyCompareTo(Object)
Compares the current ERecSortKey to the specified ERecSortKeyobject.
Declaration Syntax
C#Visual BasicVisual C++
public virtual int CompareTo(
	Object obj
)
Public Overridable Function CompareTo ( _
	obj As Object _
) As Integer
public:
virtual int CompareTo (
	Object^ obj
)
Parameters
obj (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.

Assembly: Endeca.Navigation (Module: Endeca.Navigation) Version: 0.0.0.0