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

屬性值

如果清單變更或項目變更時引發 ListChanged 事件,則為 true,否則為 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.

適用於