语言

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 

事件类型

实现

特性

适用于