Sdílet prostřednictvím


CollectionChangedEventManager.RemoveHandler Metoda

Definice

Odebere zadanou obslužnou rutinu události ze zadaného zdroje.

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

Parametry

source
INotifyCollectionChanged

Zdrojový objekt, který vyvolá CollectionChanged událost.

handler
EventHandler<NotifyCollectionChangedEventArgs>

Delegát, který událost zpracovává CollectionChanged .

Platí pro