CollectionChangedEventManager.AddHandler Method (INotifyCollectionChanged, EventHandler(Of NotifyCollectionChangedEventArgs))
.NET Framework (current version)
Adds the specified event handler, which is called when specified source raises the CollectionChanged event.
Assembly: WindowsBase (in WindowsBase.dll)
Public Shared Sub AddHandler ( source As INotifyCollectionChanged, handler As EventHandler(Of NotifyCollectionChangedEventArgs) )
Parameters
- source
-
Type:
System.Collections.Specialized.INotifyCollectionChanged
The source object that the raises the CollectionChanged event.
- handler
-
Type:
System.EventHandler(Of NotifyCollectionChangedEventArgs)
The delegate that handles the CollectionChanged event.
.NET Framework
Available since 4.5
Available since 4.5
Show: