This documentation is archived and is not being maintained.

CollectionChangeEventArgs Constructor

Initializes a new instance of the CollectionChangeEventArgs class.

[Visual Basic]
Public Sub New( _
   ByVal action As CollectionChangeAction, _
   ByVal element As Object _
)
[C#]
public CollectionChangeEventArgs(
   CollectionChangeAction action,
 object element
);
[C++]
public: CollectionChangeEventArgs(
   CollectionChangeAction action,
 Object* element
);
[JScript]
public function CollectionChangeEventArgs(
   action : CollectionChangeAction,
 element : Object
);

Parameters

action
One of the CollectionChangeAction values that specifies how the collection changed.
element
An Object that specifies the instance of the collection where the change occurred.

Requirements

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

See Also

CollectionChangeEventArgs Class | CollectionChangeEventArgs Members | System.ComponentModel Namespace | CollectionChangeAction

Show: