ItemsChangedEventArgs.Action 属性

定义

获取对项集合发生的操作。

public:
 property int Action { int get(); };
int Action();
public int Action { get; }
var int32 = itemsChangedEventArgs.action;
Public ReadOnly Property Action As Integer

属性值

Int32

int

发生的操作。

注解

int此属性的值对应于 CollectionChange 枚举的值。

操作
0 重置 - 集合已更改。
1 ItemInserted - 将项添加到集合中。
2 ItemRemoved - 从集合中删除项。
3 ItemChanged - 集合中的项已更改。

适用于