共用方式為


LocalView<TEntity>.CollectionChanged 事件

定義

發生于集合的內容變更時,可能是因為實體已直接加入或從集合中移除,或是因為實體開始追蹤,或因為實體標示為 Deleted。

public virtual 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 
Public Overridable Event CollectionChanged As NotifyCollectionChangedEventHandler 
Public Event CollectionChanged As NotifyCollectionChangedEventHandler 

事件類型

實作

適用於