CollectionChangedEventManager.AddHandler Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds the specified event handler, which is called when specified source raises the CollectionChanged event.
public:
static void AddHandler(System::Collections::Specialized::INotifyCollectionChanged ^ source, EventHandler<System::Collections::Specialized::NotifyCollectionChangedEventArgs ^> ^ handler);
public static void AddHandler (System.Collections.Specialized.INotifyCollectionChanged source, EventHandler<System.Collections.Specialized.NotifyCollectionChangedEventArgs> handler);
static member AddHandler : System.Collections.Specialized.INotifyCollectionChanged * EventHandler<System.Collections.Specialized.NotifyCollectionChangedEventArgs> -> unit
Public Shared Sub AddHandler (source As INotifyCollectionChanged, handler As EventHandler(Of NotifyCollectionChangedEventArgs))
Parameters
- source
- INotifyCollectionChanged
The source object that the raises the CollectionChanged event.
The delegate that handles the CollectionChanged event.
Applies to
Spolupráca s nami v službe GitHub
Zdroj tohto obsahu nájdete v službe GitHub, kde môžete vytvárať a skúmať problémy a žiadosti o prijatie zmien. Ďalšie informácie nájdete v našom sprievodcovi prispievateľom.