ArcGIS Pro 2.6 API Reference Guide
Subscribe Method (ProjectWindowSelectedItemsChangedEvent)

ArcGIS.Desktop.Core.Events Namespace > ProjectWindowSelectedItemsChangedEvent Class : Subscribe Method
The delegate that is subscribed to the event ProjectWindowSelectedItemsChangedEventArgs
(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)
Subscribe to the ProjectWindowSelectedItemsChangedEvent
Syntax

Parameters

action
The delegate that is subscribed to the event ProjectWindowSelectedItemsChangedEventArgs
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 10, Windows 8.1, Windows 7

See Also

Reference

ProjectWindowSelectedItemsChangedEvent Class
ProjectWindowSelectedItemsChangedEvent Members