IBindingList.SupportsChangeNotification 属性

定义

获取当列表更改或列表中的项更改时是否引发 ListChanged 事件。Gets whether a ListChanged event is raised when the list changes or an item in the list changes.

public:
 property bool SupportsChangeNotification { bool get(); };
public bool SupportsChangeNotification { get; }
member this.SupportsChangeNotification : bool
Public ReadOnly Property SupportsChangeNotification As Boolean

属性值

如果当列表更改或项更改时引发了 true 事件,则为 ListChanged;否则为 falsetrue if a ListChanged event is raised when the list changes or when an item changes; otherwise, false.

注解

列表中的对象必须在列表发生更改时通知列表,因此列表可能引发 ListChanged 事件。Objects in the list must notify the list when they change, so the list can raise a ListChanged event.

适用于