Share via


CollectionChangedEventManager.RemoveHandler Méthode

Définition

Supprime le gestionnaire d'événements spécifié de la source spécifiée.

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))

Paramètres

source
INotifyCollectionChanged

Objet source qui déclenche l'événement CollectionChanged.

handler
EventHandler<NotifyCollectionChangedEventArgs>

Délégué qui gère l'événement CollectionChanged.

S’applique à