CollectionChangeEventArgs Class
Provides data for the CollectionChanged event.
For a list of all members of this type, see CollectionChangeEventArgs Members.
System.Object
System.EventArgs
System.ComponentModel.CollectionChangeEventArgs
[Visual Basic] Public Class CollectionChangeEventArgs Inherits EventArgs [C#] public class CollectionChangeEventArgs : EventArgs [C++] public __gc class CollectionChangeEventArgs : public EventArgs [JScript] public class CollectionChangeEventArgs extends EventArgs
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Remarks
A CollectionChanged event is raised when you change which items are in a collection, for example, by adding an element to a collection or removing an element from the collection. This event is not raised when an individual element changes its value.
Example
For an example on using the CollectionChangeEventArgs class, see the sample code in the CollectionChanged event of the DataColumnCollection class.
Requirements
Namespace: System.ComponentModel
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework
Assembly: System (in System.dll)
See Also
CollectionChangeEventArgs Members | System.ComponentModel Namespace | CollectionChangeEventHandler | CollectionChangeAction