ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Desktop.Core.Portal Namespace / PortalQueryParameters Class / CreateForItemsWithId Method
The item Id of the portal item.

CreateForItemsWithId Method
Returns query parameters that will find items with a specified item Id.
Syntax
public static PortalQueryParameters CreateForItemsWithId( 
   string itemId
)

Parameters

itemId
The item Id of the portal item.

Return Value

Initialized portal query parameters
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

ArcGIS Pro version: 2.1 or higher.
See Also