ArcGIS Pro 3.1 API Reference Guide
ArcGIS.Desktop.Framework.Events Namespace / DictionaryChangedEvent Class / Subscribe Method
The method to call.
Subscribe with a strong reference. Default is false (weak reference).
Version

    Subscribe Method (DictionaryChangedEvent)
    Call the specified method whenever the event occurs.
    Syntax

    Parameters

    action
    The method to call.
    keepSubscriberAlive
    Subscribe with a strong reference. Default is false (weak reference).

    Return Value

    A SubscriptionToken that can be used to unsubscribe with.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.0 or higher.
    See Also