public static SubscriptionToken Subscribe( Action<ProjectWindowSelectedItemsChangedEventArgs> action, bool keepSubscriberAlive )
Public Shared Function Subscribe( _ ByVal action As Action(Of ProjectWindowSelectedItemsChangedEventArgs), _ Optional ByVal keepSubscriberAlive As Boolean _ ) As SubscriptionToken
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)