IHierarchicalDataSource.DataSourceChanged 事件

定義

IHierarchicalDataSource 介面所表示的資料儲存體已變更時發生。Occurs when the data storage that the IHierarchicalDataSource interface represents has changed.

public:
 event EventHandler ^ DataSourceChanged;
event EventHandler DataSourceChanged;
member this.DataSourceChanged : EventHandler 
Event DataSourceChanged As EventHandler 

事件類型

EventHandler

備註

DataSourceChanged 資料來源控制項的屬性進行變更(例如變更 DataFile 控制項的屬性 XmlDataSource ),或變更基礎資料儲存區中的資料時,就會引發此事件,這會在由控制項執行的編輯動作變更 XML 節點時發生 XmlDataSourceThe DataSourceChanged event is raised when a change is made to the data source control's properties, such as changing the DataFile property of an XmlDataSource control, or changing the data in the underlying data storage, which happens when XML nodes are changed by an edit action performed by an XmlDataSource control.

適用於

另請參閱