NotifyCollectionChangedEventHandler Delegat

Definition

Stellt die Methode dar, die das CollectionChanged-Ereignis behandelt.

.NETTO Diese Schnittstelle wird als System.Collections.Specialized.NotifyCollectionChangedEventHandler angezeigt.

/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(3390092156, 62338, 17809, 133, 87, 94, 36, 150, 82, 121, 176)]
class NotifyCollectionChangedEventHandler : MulticastDelegate
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(3390092156, 62338, 17809, 133, 87, 94, 36, 150, 82, 121, 176)]
public delegate void NotifyCollectionChangedEventHandler(object sender, NotifyCollectionChangedEventArgs e);
Public Delegate Sub NotifyCollectionChangedEventHandler(sender As Object, e As NotifyCollectionChangedEventArgs)

Parameter

sender
Object

IInspectable

Das Objekt, in dem der Handler angefügt ist.

Attribute

Windows-Anforderungen

Gerätefamilie
Windows 10 (eingeführt in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (eingeführt in v1.0)

Hinweise

Bei der Programmierung mit .NET ist dieser Delegat ausgeblendet, und Entwickler sollten den Delegaten System.Collections.Specialized.NotifyCollectionChangedEventHandler verwenden.

Gilt für:

Weitere Informationen