ArcGIS Pro 2.8 API Reference Guide
IsCustomItem(String) Method

ArcGIS.Desktop.Core Namespace > IItemFactory Interface > IsCustomItem Method : IsCustomItem(String) Method
The path to check
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 10, Windows 8.1

See Also

Reference

IItemFactory Interface
IItemFactory Members
Overload List