ערוך

שתף באמצעות


CollectionChangedEventManager.RemoveHandler Method

Definition

Removes the specified event handler from the specified source.

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

Parameters

source
INotifyCollectionChanged

The source object that the raises the CollectionChanged event.

handler
EventHandler<NotifyCollectionChangedEventArgs>

The delegate that handles the CollectionChanged event.

Applies to