Class LenComparer
Inheritance
System.Object
LenComparer
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.Windows.Forms.CellGrid
Assembly: Syncfusion.Spreadsheet.Windows.dll
Syntax
public class LenComparer : IComparer
Constructors
LenComparer()
Declaration
public LenComparer()
Methods
Compare(Object, Object)
Compares 2 strings based on their length.
Declaration
public int Compare(object x, object y)
Parameters
Type | Name | Description |
---|---|---|
System.Object | x | String 1. |
System.Object | y | String 2. |
Returns
Type |
---|
System.Int32 |
Implements
System.Collections.IComparer