ArcGIS Pro 2.9 API Reference Guide
CanGetDefinition Method (IItemFactory)

ArcGIS.Desktop.Core Namespace > IItemFactory Interface : CanGetDefinition Method
The item to check.
Gets if the definition for the item can be retrieved.
Syntax
bool CanGetDefinition( 
   Item item
)
Function CanGetDefinition( _
   ByVal item As Item _
) As Boolean

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, Windows 8.1

See Also

Reference

IItemFactory Interface
IItemFactory Members