ArcGIS Pro 3.3 API Reference Guide
ArcGIS.Desktop.Core Namespace / IItemFactory Interface / IsCustomItem Method / IsCustomItem(String) Method
The path to check

In This Topic
    IsCustomItem(String) Method
    In This Topic
    Determines whether the path points to a custom item or not.
    Syntax
    bool IsCustomItem( 
       string uri
    )
    Overloads Function IsCustomItem( _
       ByVal uri As String _
    ) As Boolean

    Parameters

    uri
    The path to check

    Return Value

    True if the path points to a custom item
    Exceptions
    ExceptionDescription
    Throw when invalid characters are present in the path.
    Remarks
    The function uses the file extension of the path to compare with custom items file extensions read from currently loaded add-ins
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also