Share via


NotifyCollectionChangedEventHandler 委托

定义

表示将处理 CollectionChanged 事件的方法。

。网 此接口显示为 System.Collections.Specialized.NotifyCollectionChangedEventHandler

/// [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)

参数

sender
Object

IInspectable

附加处理程序的对象。

属性

Windows 要求

设备系列
Windows 10 (在 10.0.10240.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v1.0 中引入)

注解

使用 .NET 编程时,此委托是隐藏的,开发人员应使用 System.Collections.Specialized.NotifyCollectionChangedEventHandler 委托。

适用于

另请参阅