Compartilhar via


CollectionChangedEventManager.RemoveHandler Método

Definição

Remove o manipulador de eventos especificado da fonte especificada.

public:
 static void RemoveHandler(System::Collections::Specialized::INotifyCollectionChanged ^ source, EventHandler<System::Collections::Specialized::NotifyCollectionChangedEventArgs ^> ^ handler);
public static void RemoveHandler (System.Collections.Specialized.INotifyCollectionChanged source, EventHandler<System.Collections.Specialized.NotifyCollectionChangedEventArgs> handler);
static member RemoveHandler : System.Collections.Specialized.INotifyCollectionChanged * EventHandler<System.Collections.Specialized.NotifyCollectionChangedEventArgs> -> unit
Public Shared Sub RemoveHandler (source As INotifyCollectionChanged, handler As EventHandler(Of NotifyCollectionChangedEventArgs))

Parâmetros

source
INotifyCollectionChanged

O objeto de origem que gera o evento CollectionChanged.

handler
EventHandler<NotifyCollectionChangedEventArgs>

O delegado que manipula o evento CollectionChanged.

Aplica-se a