CollectionChangedEventManager.AddListener Method (INotifyCollectionChanged, IWeakEventListener)

 

Adds the specified listener to the CollectionChanged event of the specified source.

Namespace:   System.Collections.Specialized
Assembly:  WindowsBase (in WindowsBase.dll)

Public Shared Sub AddListener (
	source As INotifyCollectionChanged,
	listener As IWeakEventListener
)

Parameters

source
Type: System.Collections.Specialized.INotifyCollectionChanged

The object with the event.

listener
Type: System.Windows.IWeakEventListener

The object to add as a listener.

.NET Framework
Available since 3.0
Return to top
Show: