ArcGIS Pro 3.2 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).

In This Topic
    CreateForItemsOfTypes Method
    In This Topic
    Returns query parameters that will find items with the specified types, group and owner.
    Syntax
    Public Shared Function CreateForItemsOfTypes( _
       ByVal types As IEnumerable(Of PortalItemType), _
       Optional ByVal owner As String, _
       Optional ByVal groupId As String, _
       Optional ByVal search As String _
    ) As PortalQueryParameters

    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