AddHandler Method
Collapse the table of content
Expand the table of content

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.

Namespace:   System.Collections.Specialized
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
Return to top
Show:
© 2016 Microsoft