ArcGIS Pro 2.8 API Reference Guide
Query Property (PortalQueryParameters)

ArcGIS.Desktop.Core.Portal Namespace > PortalQueryParameters Class : Query Property
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 10, Windows 8.1

See Also

Reference

PortalQueryParameters Class
PortalQueryParameters Members