Bewerken

Delen via


CollectionChangeEventArgs(CollectionChangeAction, Object) Constructor

Definition

Initializes a new instance of the CollectionChangeEventArgs class.

public:
 CollectionChangeEventArgs(System::ComponentModel::CollectionChangeAction action, System::Object ^ element);
public CollectionChangeEventArgs (System.ComponentModel.CollectionChangeAction action, object element);
public CollectionChangeEventArgs (System.ComponentModel.CollectionChangeAction action, object? element);
new System.ComponentModel.CollectionChangeEventArgs : System.ComponentModel.CollectionChangeAction * obj -> System.ComponentModel.CollectionChangeEventArgs
Public Sub New (action As CollectionChangeAction, element As Object)

Parameters

action
CollectionChangeAction

One of the CollectionChangeAction values that specifies how the collection changed.

element
Object

An Object that specifies the instance of the collection where the change occurred.

Applies to

See also