StringComparer Class
Comparer for strings.
Inheritance
System.Object
StringComparer
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.XlsIO.Implementation
Assembly: Syncfusion.XlsIO.Base.dll
Syntax
public class StringComparer : IComparer
Constructors
StringComparer()
Declaration
public StringComparer()
Methods
Compare(Object, Object)
Compare two strings.
Declaration
public int Compare(object x, object y)
Parameters
Type | Name | Description |
---|---|---|
System.Object | x | String to compare. |
System.Object | y | String to compare. |
Returns
Type | Description |
---|---|
System.Int32 | Returns compared results. |
Implements
System.Collections.IComparer