Visual Basic (Declaration) | |
---|---|
Public Function New( _ ByVal obj As IRemoteNotifyCollectionChanged, _ ByVal callback As NotifyCollectionChangedEventHandler _ ) |
C# | |
---|---|
public NotifyCollectionChangedWrapper( IRemoteNotifyCollectionChanged obj, NotifyCollectionChangedEventHandler callback ) |
C++/CLI | |
---|---|
public: NotifyCollectionChangedWrapper( IRemoteNotifyCollectionChanged^ obj, NotifyCollectionChangedEventHandler^ callback ) |
Parameters
- obj
- The remote object to monitor for CollectionChanged events.
- callback
- A delegate of type System.Collections.Specialized.NotifyCollectionChangedEventHandler that will be invoked when the collection referred to by obj changes.
Target Platforms: Windows 11 Professional or Enterprise; Windows 10 Professional, Enterprise, or Education (64-bit)