Redigera

Dela via


ActivityCollection.ListChanged Event

Definition

Raised whenever a change is made to the contents of this ICollection.

public:
 event EventHandler<System::Workflow::ComponentModel::ActivityCollectionChangeEventArgs ^> ^ ListChanged;
public event EventHandler<System.Workflow.ComponentModel.ActivityCollectionChangeEventArgs> ListChanged;
member this.ListChanged : EventHandler<System.Workflow.ComponentModel.ActivityCollectionChangeEventArgs> 
Public Custom Event ListChanged As EventHandler(Of ActivityCollectionChangeEventArgs) 
Public Event ListChanged As EventHandler(Of ActivityCollectionChangeEventArgs) 

Event Type

Remarks

In this context, adding or removing members raises the event. Modifying a member does not raise this event.

When you create an ActivityCollection delegate, you identify the method that will handle the event. To associate the event with your event handler, add an instance of the delegate to the event. The event handler is called whenever the event occurs, unless you remove the delegate. For more information about event-handler delegates, see Handling and Raising Events.

Applies to