DataTable.OnRemoveColumn(DataColumn) DataTable.OnRemoveColumn(DataColumn) DataTable.OnRemoveColumn(DataColumn) DataTable.OnRemoveColumn(DataColumn) Method

定義

DataTable 通知 DataColumn 正在移除。Notifies the DataTable that a DataColumn is being removed.

protected public:
 virtual void OnRemoveColumn(System::Data::DataColumn ^ column);
protected internal virtual void OnRemoveColumn (System.Data.DataColumn column);
abstract member OnRemoveColumn : System.Data.DataColumn -> unit
override this.OnRemoveColumn : System.Data.DataColumn -> unit
Protected Friend Overridable Sub OnRemoveColumn (column As DataColumn)

參數

column
DataColumn DataColumn DataColumn DataColumn

正在移除的 DataColumnThe DataColumn being removed.

備註

引發事件會透過委派叫用此事件處理常式。Raising an event invokes the event handler through a delegate. 如需詳細資訊, 請參閱處理和引發事件For more information, see Handling and Raising Events.

給繼承者的注意事項

在衍生OnRemoveColumn(DataColumn)類別中覆寫時,請務必呼叫基類的OnRemoveColumn(DataColumn)方法。When overriding OnRemoveColumn(DataColumn) in a derived class, be sure to call the base class's OnRemoveColumn(DataColumn) method.

適用於

另請參閱