ArcGIS Pro 2.9 API Reference Guide
CreateForItemsOfTypeWithOwner Method

ArcGIS.Desktop.Core.Portal Namespace > PortalQueryParameters Class : CreateForItemsOfTypeWithOwner Method
The type of the portal item.
The username of the owner (may be null).
The string used for broader search on the items; such as on tags, title etc. May be empty (or null).
Returns query parameters that will find items with a specified type and owner.
Syntax
public static PortalQueryParameters CreateForItemsOfTypeWithOwner( 
   PortalItemType type,
   string owner,
   string search
)
Public Shared Function CreateForItemsOfTypeWithOwner( _
   ByVal type As PortalItemType, _
   ByVal owner As String, _
   Optional ByVal search As String _
) As PortalQueryParameters

Parameters

type
The type of the portal item.
owner
The username of the owner (may be 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, Windows 8.1

See Also

Reference

PortalQueryParameters Class
PortalQueryParameters Members