ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Desktop.Core Namespace / ItemFactory Class / CanGetDefinition Method
The item to check.

In This Topic
    CanGetDefinition Method (ItemFactory)
    In This Topic
    Gets if the definition for the item can be retrieved.
    Syntax
    public bool CanGetDefinition( 
       Item item
    )
    Public 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