共用方式為


DataViewManager.TableCollectionChanged 方法

定義

CollectionChanged 中加入或刪除 DataTable 時,引發 DataTableCollection 事件。

protected:
 virtual void TableCollectionChanged(System::Object ^ sender, System::ComponentModel::CollectionChangeEventArgs ^ e);
protected virtual void TableCollectionChanged (object sender, System.ComponentModel.CollectionChangeEventArgs e);
abstract member TableCollectionChanged : obj * System.ComponentModel.CollectionChangeEventArgs -> unit
override this.TableCollectionChanged : obj * System.ComponentModel.CollectionChangeEventArgs -> unit
Protected Overridable Sub TableCollectionChanged (sender As Object, e As CollectionChangeEventArgs)

參數

sender
Object

事件的來源。

e
CollectionChangeEventArgs

CollectionChangeEventArgs,其中包含事件資料。

適用於

另請參閱