CollectionChangedEventManager.RemoveListener Method (INotifyCollectionChanged, IWeakEventListener)

 

Removes the specified listener from the CollectionChanged event of the specified source.

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

public static void RemoveListener(
	INotifyCollectionChanged source,
	IWeakEventListener listener
)

Parameters

source
Type: System.Collections.Specialized.INotifyCollectionChanged

The object with the event.

listener
Type: System.Windows.IWeakEventListener

The listener to remove.

.NET Framework
Available since 3.0
Return to top
Show: