DataTableNewRowEventHandler Delegado

Definición

Representa el método que controla el método NewRow().Represents the method that handles the NewRow() method.

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

Parámetros

sender
Object

Origen del evento.The source of the event.

e
DataTableNewRowEventArgs

Valor DataTableNewRowEventArgs que contiene los datos del evento.A DataTableNewRowEventArgs that contains the event data.

Herencia
DataTableNewRowEventHandler

Comentarios

Cuando se crea un delegado DataTableNewRowEventHandler, se identifica el método que controlará el evento.When you create a DataTableNewRowEventHandler delegate, you identify the method that will handle the event. Para asociar el evento al controlador, se debe agregar una instancia del delegado al evento.To associate the event with your event handler, add an instance of the delegate to the event. Se llama al controlador de eventos cada vez que se produce el evento hasta que se quita el delegado.The event handler is called whenever the event occurs until you remove the delegate. Para obtener más información sobre los delegados, vea controlar y provocar eventos.For more information about delegates, see Handling and Raising Events.

Métodos de extensión

GetMethodInfo(Delegate)

Obtiene un objeto que representa el método representado por el delegado especificado.Gets an object that represents the method represented by the specified delegate.

Se aplica a