ASP.NET Core MVC Controls | ComponentOne
C1.AspNetCore.Mvc.Olap Assembly / C1.Web.Mvc.Olap Namespace / PivotFieldBase Class / SortComparer Property

In This Topic
    SortComparer Property (PivotFieldBase)
    In This Topic
    Gets or sets a function used to compare values when sorting.
    Syntax
    'Declaration
     
    Public Property SortComparer As String
    public string SortComparer {get; set;}
    Remarks
    If provided, the sort comparer function should take as parameters two values of any type, and should return -1, 0, or +1 to indicate whether the first value is smaller than, equal to, or greater than the second. If the sort comparer returns null, the standard built-in comparer is used.
    See Also