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

In This Topic
    CreateForItemsWithId Method
    In This Topic
    Returns query parameters that will find items with a specified item Id.
    Syntax
    public static PortalQueryParameters CreateForItemsWithId( 
       string itemId
    )
    Public Shared Function CreateForItemsWithId( _
       ByVal itemId As String _
    ) As PortalQueryParameters

    Parameters

    itemId
    The item Id of the portal item.

    Return Value

    Initialized portal query parameters
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also