ObjectComparer
Class
Exposes a method that compares two objects.
Definition
Namespace:Telerik.Pivot.Core
Assembly:Telerik.WinControls.PivotGrid.dll
Syntax:
C#
[DataContract]
public abstract class ObjectComparer : SettingsNode, INotifyPropertyChanged, ISupportInitialize, IServiceProvider, IEditable, IComparer
Inheritance: objectCloneableSettingsNodeObjectComparer
Implements:
Inherited Members
Constructors
C#
protected ObjectComparer()
Methods
Compares two objects and returns a value indicating whether one is less than, equal to, or greater than the other.
C#
public abstract int Compare(object x, object y)
The first object to compare.
yobjectThe second object to compare.
Returns: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.
Implements: