Bagikan melalui


CollectionChangedEventManager.RemoveHandler Metode

Definisi

Menghapus penanganan aktivitas yang ditentukan dari sumber yang ditentukan.

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

Objek sumber yang menaikkan CollectionChanged peristiwa.

handler
EventHandler<NotifyCollectionChangedEventArgs>

Delegasi yang menangani CollectionChanged peristiwa.

Berlaku untuk