System.ComponentModel.CollectionChangeAction Enumeration

Specifies how the collection is changed.

Syntax

public enum CollectionChangeAction

Remarks

The System.ComponentModel.CollectionChangeEventArgs class uses this enumeration.

Members

Member NameDescription
Add

Specifies that an element was added to the collection.

Refresh

Specifies that the entire collection has changed. This is caused by using methods that manipulate the entire collection, such as CollectionBase.Clear.

Remove

Specifies that an element was removed from the collection.

Requirements

Namespace: System.ComponentModel
Assembly: System (in System.dll)
Assembly Versions: 1.0.3300.0, 1.0.5000.0, 2.0.0.0, 4.0.0.0