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 _
)
[C#]
protected internal virtual void OnRemoveColumn(
 DataColumn column
);
[C++]
protected public: virtual void OnRemoveColumn(
 DataColumn* column
);
[JScript]
protected internal function OnRemoveColumn(
   column : DataColumn
);

Parameters

column
The DataColumn being removed.

Remarks

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.

Requirements

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

Show: