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
Any public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.
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.
For an example on using the CollectionChangeEventArgs class, see the sample code in the CollectionChanged event of the DataColumnCollection class.
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 - Windows CE .NET
Assembly: System (in System.dll)
CollectionChangeEventArgs Members | System.ComponentModel Namespace | CollectionChangeEventHandler | CollectionChangeAction