Compares this object to o.

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

Syntax

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

Parameters

o
Type: System..::..Object
An object for comparison.

Return Value

Negative int if this is less than o, 0 if they are equal, and a positive int if this is greater than o.

Implements

IComparable..::..CompareTo(Object)

Remarks

Casts o as Property and returns a negative int if this is less than o, zero if they are the same, and a positive int if this is greater than o.

Exceptions

ExceptionCondition
System..::..InvalidCastExceptiono can't be cast as a Property.

See Also