Class Comparer
Compares the values of the objects.
Implements
Inherited Members
Namespace: Syncfusion.Maui.DataSource
Assembly: Syncfusion.Maui.DataSource.dll
Syntax
public sealed class Comparer : IComparer
Constructors
Comparer(CultureInfo)
Initializes a new instance of the Comparer class.
Declaration
public Comparer(CultureInfo culture)
Parameters
| Type | Name | Description |
|---|---|---|
| CultureInfo | culture | Represents the current culture info. |
Methods
Compare(object, object)
Comparison between the objects.
Declaration
public int Compare(object a, object b)
Parameters
| Type | Name | Description |
|---|---|---|
| object | a | Represents object a. |
| object | b | Represents object b. |
Returns
| Type | Description |
|---|---|
| int | Returns the integer value. |