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:
static void AddListener(
	INotifyCollectionChanged^ source,
	IWeakEventListener^ listener
)

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: