語言

LocalView<TEntity>.CollectionChanged 活動

定義

當集合內容發生變化,可能是因為某實體被直接新增或移除,或是某實體開始被追蹤,或是某實體被標記為已刪除。

public virtual event System.Collections.Specialized.NotifyCollectionChangedEventHandler CollectionChanged;
[System.Runtime.CompilerServices.Nullable(2)]
public event System.Collections.Specialized.NotifyCollectionChangedEventHandler? CollectionChanged;
public virtual event System.Collections.Specialized.NotifyCollectionChangedEventHandler? CollectionChanged;
public event System.Collections.Specialized.NotifyCollectionChangedEventHandler? CollectionChanged;
member this.CollectionChanged : System.Collections.Specialized.NotifyCollectionChangedEventHandler 
[<System.Runtime.CompilerServices.Nullable(2)>]
member this.CollectionChanged : System.Collections.Specialized.NotifyCollectionChangedEventHandler 
Public Overridable Event CollectionChanged As NotifyCollectionChangedEventHandler 
Public Event CollectionChanged As NotifyCollectionChangedEventHandler 

事件類型

實作

屬性

適用於