ArcGIS Pro 3.1 API Reference Guide
ArcGIS.Desktop.Core Namespace / IProjectItem Interface / OnAddToProject Method

In This Topic
    OnAddToProject Method (IProjectItem)
    In This Topic
    Callback whenever a project item has been added to a project
    Syntax
    void OnAddToProject()
    Sub OnAddToProject() 
    Remarks
    Also called whenever a "remove project item" operation is undone
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.0 or higher.
    See Also