ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Core.Portal Namespace / PortalQueryParameters Class / CreateForItemsOfTypes Method
The list of portal item types to search for.
The username of the owner. May be empty (or null).
The group Id of the portal item. May be empty (or null).
The string used for broader search on the items; such as on tags, title etc. May be empty (or null).
Version

CreateForItemsOfTypes Method
Returns query parameters that will find items with the specified types, group and owner.
Syntax

Parameters

types
The list of portal item types to search for.
owner
The username of the owner. May be empty (or null).
groupId
The group Id of the portal item. May be empty (or null).
search
The string used for broader search on the items; such as on tags, title etc. May be empty (or null).

Return Value

Initialized portal query parameters
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3 or higher.
See Also