This documentation is archived and is not being maintained.

DataTable.OnRemoveColumn Method

Notifies the DataTable that a DataColumn is being removed.

[Visual Basic]
Protected Friend Overridable Sub OnRemoveColumn( _
   ByVal column As DataColumn _
protected internal virtual void OnRemoveColumn(
 DataColumn column
protected public: virtual void OnRemoveColumn(
 DataColumn* column
protected internal function OnRemoveColumn(
   column : DataColumn


The DataColumn being removed.


Raising an event invokes the event handler through a delegate. For more information, see Raising an Event.

Notes to Inheritors:  When overriding OnRemoveColumn in a derived class, be sure to call the base class's OnRemoveColumn method.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

DataTable Class | DataTable Members | System.Data Namespace