Class RelationDescriptorNameComparer
An IComparer implementation for comparing the names of two RelationDescriptor objects.
Inheritance
System.Object
RelationDescriptorNameComparer
Implements
System.Collections.IComparer
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.Grouping
Assembly: Syncfusion.Grouping.Base.dll
Syntax
public class RelationDescriptorNameComparer : IComparer
Constructors
RelationDescriptorNameComparer()
Declaration
public RelationDescriptorNameComparer()
Methods
Compare(Object, Object)
Casts the objects to RelationDescriptor and compares the Name of both objects.
Declaration
public int Compare(object x, object y)
Parameters
Type | Name | Description |
---|---|---|
System.Object | x | The first object. |
System.Object | y | The second object. |
Returns
Type | Description |
---|---|
System.Int32 | True if both have the same name; False otherwise. |
Implements
System.Collections.IComparer