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)

static member AddListener : 
        source:INotifyCollectionChanged *
        listener:IWeakEventListener -> unit

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: