Muokkaa

Jaa


CollectionChangedEventManager.RemoveListener Method

Definition

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

public:
 static void RemoveListener(System::Collections::Specialized::INotifyCollectionChanged ^ source, System::Windows::IWeakEventListener ^ listener);
public static void RemoveListener (System.Collections.Specialized.INotifyCollectionChanged source, System.Windows.IWeakEventListener listener);
static member RemoveListener : System.Collections.Specialized.INotifyCollectionChanged * System.Windows.IWeakEventListener -> unit
Public Shared Sub RemoveListener (source As INotifyCollectionChanged, listener As IWeakEventListener)

Parameters

source
INotifyCollectionChanged

The object with the event.

listener
IWeakEventListener

The listener to remove.

Applies to