ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Desktop.Core.Portal Namespace / PortalQueryParameters Class / SortField Property

In This Topic
    SortField Property (PortalQueryParameters)
    In This Topic
    Gets or sets the field to sort by. (e.g for groups the allowed field names are title, owner, and created).
    Syntax
    public string SortField {get; set;}
    Public Property SortField As String
    Remarks
    Corresponds to the "SortField=" parameter of a portal REST query. The allowed values are:
    title, created, type, owner, modified, avgRating, numRatings, numComments, and numViews

    SortField is ignored for spatial queries (i.e. when using a bounding box)
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 8.1

    See Also