ArcGIS Pro 2.9 API Reference Guide
CreateForItemsOfTypeInGroup Method

ArcGIS.Desktop.Core.Portal Namespace > PortalQueryParameters Class : CreateForItemsOfTypeInGroup Method
The type of the portal item.
The group Id of the portal item.
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 in the specified group.
Syntax
public static PortalQueryParameters CreateForItemsOfTypeInGroup( 
   PortalItemType type,
   string groupId,
   string search
)
Public Shared Function CreateForItemsOfTypeInGroup( _
   ByVal type As PortalItemType, _
   ByVal groupId As String, _
   Optional ByVal search As String _
) As PortalQueryParameters

Parameters

type
The type of the portal item.
groupId
The group Id of the portal item.
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