This documentation is archived and is not being maintained.

CollectionChangeEventArgs Class

Provides data for the CollectionChanged event.

For a list of all members of this type, see CollectionChangeEventArgs Members.


[Visual Basic]
Public Class CollectionChangeEventArgs
   Inherits EventArgs
public class CollectionChangeEventArgs : EventArgs
public __gc class CollectionChangeEventArgs : public EventArgs
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.


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

Assembly: System (in System.dll)

See Also

CollectionChangeEventArgs Members | System.ComponentModel Namespace | CollectionChangeEventHandler | CollectionChangeAction