CollectionChangeEventArgs(CollectionChangeAction, Object) 构造函数

定义

初始化 CollectionChangeEventArgs 类的新实例。

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)

参数

action
CollectionChangeAction

指定集合如何更改的 CollectionChangeAction 值之一。

element
Object

Object,它指定发生更改的集合实例。

适用于

另请参阅