menu

Xamarin.Android

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class Comparer - Xamarin.Android API Reference | Syncfusion

    Show / Hide Table of Contents

    Class Comparer

    Compares the values of the objects.

    Inheritance
    System.Object
    Comparer
    Implements
    System.Collections.IComparer
    Namespace: Syncfusion.DataSource
    Assembly: Syncfusion.DataSource.Portable.dll
    Syntax
    public sealed class Comparer : Object, IComparer

    Constructors

    Comparer(CultureInfo)

    Initializes a new instance of the Comparer class.

    Declaration
    public Comparer(CultureInfo culture)
    Parameters
    Type Name Description
    System.Globalization.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
    System.Object a

    Represents object a.

    System.Object b

    Represents object b.

    Returns
    Type Description
    System.Int32

    Returns the integer value.

    Implements

    System.Collections.IComparer
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved