Freigeben über


CollectionChangedEventManager.RemoveHandler Methode

Definition

Entfernt den angegebenen Ereignishandler aus der angegebenen Quelle.

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

Parameter

source
INotifyCollectionChanged

Das Quellobjekt, das das CollectionChanged-Ereignis auslöst.

handler
EventHandler<NotifyCollectionChangedEventArgs>

Der Delegat. der das CollectionChanged-Ereignis behandelt.

Gilt für: