Class ObjectComparer
Exposes a method that compares two objects.
Inherited Members
Namespace: Telerik.Pivot.Core
Assembly: Telerik.WinControls.PivotGrid.dll
Syntax
public abstract class ObjectComparer : SettingsNode, INotifyPropertyChanged, ISupportInitialize, IObservableServiceProvider, IServiceProvider, IEditable, IComparer
Constructors
ObjectComparer()
Declaration
protected ObjectComparer()
Methods
Compare(Object, Object)
Compares two objects and returns a value indicating whether one is less than, equal to, or greater than the other.
Declaration
public abstract int Compare(object x, object y)
Parameters
System.Object
x
The first object to compare. |
System.Object
y
The second object to compare. |
Returns
System.Int32
A signed integer that indicates the relative values of x and y, as shown in the following table.Value Meaning Less than zero x is less than y. Zero x equals y. Greater than zero x is greater than y. |