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.

適用於

另請參閱