Class FieldDescriptorNameComparer
An IComparer implementation for comparing the names of two FieldDescriptor objects.
Inheritance
System.Object
FieldDescriptorNameComparer
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 FieldDescriptorNameComparer : IComparer
Constructors
FieldDescriptorNameComparer()
Declaration
public FieldDescriptorNameComparer()
Methods
Compare(Object, Object)
Casts the objects to FieldDescriptor 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 | The result of string.Compare for the Name of the two FieldDescriptor objects; 0 if both are the same. |
Implements
System.Collections.IComparer