CollectionChangeAction 枚举

定义

指定如何更改集合。Specifies how the collection is changed.

public enum class CollectionChangeAction
public enum CollectionChangeAction
type CollectionChangeAction = 
Public Enum CollectionChangeAction
继承
CollectionChangeAction

字段

Add 1

指定已将某个元素添加到集合。Specifies that an element was added to the collection.

Refresh 3

指定已更改整个集合。Specifies that the entire collection has changed. 使用操作整个集合的方法(如 Clear())时会导致此情况。This is caused by using methods that manipulate the entire collection, such as Clear().

Remove 2

指定已从集合中移除一个元素。Specifies that an element was removed from the collection.

注解

CollectionChangeEventArgs类使用此枚举。The CollectionChangeEventArgs class uses this enumeration.

适用于

另请参阅