ArcGIS Pro 3.2 API Reference Guide
ArcGIS.Desktop.Core.Events Namespace / ProjectClosingEvent Class / Subscribe Method
The delegate that is subscribed to the event ProjectEventArgs
(optional) True indicates the delegate has a strong reference to the event, and must be unsubscribed when the subscription is no longer needed. False indicates a weak delegate reference to the event. (default value = false)

In This Topic
    Subscribe Method (ProjectClosingEvent)
    In This Topic
    Subscribes to the ProjectClosingEvent
    Syntax

    Parameters

    action
    The delegate that is subscribed to the event ProjectEventArgs
    keepSubscriberAlive
    (optional) True indicates the delegate has a strong reference to the event, and must be unsubscribed when the subscription is no longer needed. False indicates a weak delegate reference to the event. (default value = false)

    Return Value

    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also