DesignerActionListsChangedEventHandler Delegado

Definición

Representa el método que controlará el evento DesignerActionListsChanged de DesignerActionService.Represents the method that will handle the DesignerActionListsChanged event of a DesignerActionService. Esta clase no puede heredarse.This class cannot be inherited.

public delegate void DesignerActionListsChangedEventHandler(System::Object ^ sender, DesignerActionListsChangedEventArgs ^ e);
public delegate void DesignerActionListsChangedEventHandler(object sender, DesignerActionListsChangedEventArgs e);
[System.Runtime.InteropServices.ComVisible(true)]
public delegate void DesignerActionListsChangedEventHandler(object sender, DesignerActionListsChangedEventArgs e);
type DesignerActionListsChangedEventHandler = delegate of obj * DesignerActionListsChangedEventArgs -> unit
[<System.Runtime.InteropServices.ComVisible(true)>]
type DesignerActionListsChangedEventHandler = delegate of obj * DesignerActionListsChangedEventArgs -> unit
Public Delegate Sub DesignerActionListsChangedEventHandler(sender As Object, e As DesignerActionListsChangedEventArgs)

Parámetros

sender
Object

Origen del evento.The source of the event.

e
DesignerActionListsChangedEventArgs

Objeto DesignerActionListsChangedEventArgs que contiene los datos del evento.A DesignerActionListsChangedEventArgs that contains the event data.

Atributos

Comentarios

El modelo de eventos del .NET Framework se basa en tener un delegado de eventos que conecta un evento con su controlador.The event model in the .NET Framework is based on having an event delegate that connects an event with its handler. Para generar un DesignerActionListsChanged evento, se necesitan dos elementos:To raise a DesignerActionListsChanged event, two elements are needed:

Cuando se crea un delegado DesignerActionListsChangedEventHandler, se identifica el método que controlará el evento.When you create a DesignerActionListsChangedEventHandler 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. Siempre que se produce el evento, se llama a su controlador, a menos que se quite el delegado.The event handler is called whenever the event occurs, unless you remove the delegate. Para obtener más información sobre los delegados de controladores de eventos, vea controlar y provocar eventos.For more information about event-handler 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

Consulte también