共用方式為


DataViewManager.RelationCollectionChanged 方法

定義

CollectionChanged 中加入或刪除 DataRelation 時,引發 DataRelationCollection 事件。

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

參數

sender
Object

事件的來源。

e
CollectionChangeEventArgs

CollectionChangeEventArgs,其中包含事件資料。

適用於

另請參閱