NotifyCollectionChangedEventHandler 代理人

定義

表示將處理 CollectionChanged 事件的方法。

。網 此介面會顯示為 System.Collections.Specialized.NotifyCollectionChangedEventHandler

[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
[Windows.Foundation.Metadata.Guid(2332625372, 8197, 23955, 191, 138, 114, 95, 1, 123, 170, 141)]
public delegate void NotifyCollectionChangedEventHandler(object sender, NotifyCollectionChangedEventArgs e);
Public Delegate Sub NotifyCollectionChangedEventHandler(sender As Object, e As NotifyCollectionChangedEventArgs)

參數

sender
Object

附加處理常式的物件。

e
NotifyCollectionChangedEventArgs

事件的事件資料。

屬性

備註

使用 .NET 進行程式設計時,會隱藏此委派,開發人員應該使用 System.Collections.Specialized.NotifyCollectionChangedEventHandler 委派。

適用於

另請參閱