Partilhar via


CollectionChangedEventManager.RemoveListener Método

Definição

Remove o ouvinte especificado do evento CollectionChanged da fonte especificada.

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)

Parâmetros

source
INotifyCollectionChanged

O objeto com o evento.

listener
IWeakEventListener

O ouvinte a ser removido.

Aplica-se a