ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Core Namespace / IItemFactory Interface / CanGetDefinition Method
The item to check.
Version

CanGetDefinition Method (IItemFactory)
Gets if the definition for the item can be retrieved.
Syntax
bool CanGetDefinition( 
   Item item
)

Parameters

item
The item to check.

Return Value

True if the definition can be retrieved. False otherwise.
Remarks
Currently only definitions for the types listed within ArcGIS.Core.Data.DatasetType are supported. Others items such as network datasets, parcel fabric datasets, BIM datasets will return false.
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3 or higher.
See Also