DataColumnChangeEventHandler DataColumnChangeEventHandler DataColumnChangeEventHandler DataColumnChangeEventHandler Delegate

Definition

Represents the method that will handle the ColumnChanging event.

public delegate void DataColumnChangeEventHandler(System::Object ^ sender, DataColumnChangeEventArgs ^ e);
public delegate void DataColumnChangeEventHandler(object sender, DataColumnChangeEventArgs e);
type DataColumnChangeEventHandler = delegate of obj * DataColumnChangeEventArgs -> unit
Public Delegate Sub DataColumnChangeEventHandler(sender As Object, e As DataColumnChangeEventArgs)
Parameters
sender

The source of the event.

e

A DataColumnChangeEventArgs that contains the event data.

Inheritance
DataColumnChangeEventHandlerDataColumnChangeEventHandlerDataColumnChangeEventHandlerDataColumnChangeEventHandler

Remarks

When you create a DataColumnChangeEventHandler delegate, you identify the method that will handle the event. To associate the event with your event handler, add an instance of the delegate to the event. The event handler is called whenever the event occurs, until you remove the delegate. For more information about delegates, see Handling and Raising Events.

Note

The declaration of your event handler must have the same parameters as the DataColumnChangeEventHandler delegate declaration.

Applies to

See Also