Uređivanje

Dijeli putem


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
Object

The source of the event.

e
DataColumnChangeEventArgs

A DataColumnChangeEventArgs that contains the event data.

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.

Extension Methods

GetMethodInfo(Delegate)

Gets an object that represents the method represented by the specified delegate.

Applies to

See also