ArcGIS Pro 3.1 API Reference Guide
ArcGIS.Desktop.Core.Portal Namespace / PortalQueryParameters Class / Query Property

In This Topic
    Query Property
    In This Topic
    Gets or sets the query string to search against.
    Syntax
    public string Query {get; set;}
    Public Property Query As String
    Remarks
    Corresponds to the "q=" parameter of a portal REST query. Any settings provided in BoundingBox,StartIndex, Limit, SortField, SortOrder, and OrganizationId will be appended to the query by the PortalQueryParameter in the SearchQuery. The SearchQuery is what is submitted to the portal for a search (i.e. ArcGIS.Desktop.Core.ArcGISPortalExtensions.SearchForContentAsync).
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.0 or higher.
    See Also