ArcGIS Pro 2.8 API Reference Guide
Subscribe Method (ActiveWindowChangedEvent)

ArcGIS.Desktop.Framework.Events Namespace > ActiveWindowChangedEvent Class : Subscribe Method
The method to call.
Subscribe with a strong reference. Default is false (weak reference).
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 10, Windows 8.1

See Also

Reference

ActiveWindowChangedEvent Class
ActiveWindowChangedEvent Members