BindingSource.OnBindingComplete(BindingCompleteEventArgs) BindingSource.OnBindingComplete(BindingCompleteEventArgs) BindingSource.OnBindingComplete(BindingCompleteEventArgs) BindingSource.OnBindingComplete(BindingCompleteEventArgs) Method

Definición

Genera el evento BindingComplete.Raises the BindingComplete event.

protected:
 virtual void OnBindingComplete(System::Windows::Forms::BindingCompleteEventArgs ^ e);
protected virtual void OnBindingComplete (System.Windows.Forms.BindingCompleteEventArgs e);
abstract member OnBindingComplete : System.Windows.Forms.BindingCompleteEventArgs -> unit
override this.OnBindingComplete : System.Windows.Forms.BindingCompleteEventArgs -> unit
Protected Overridable Sub OnBindingComplete (e As BindingCompleteEventArgs)

Parámetros

Comentarios

Cuando se genera un evento, se invoca el controlador de eventos a través de un delegado.Raising an event invokes the event handler through a delegate. Para obtener más información, consulte controlar y provocar eventos.For more information, see Handling and Raising Events.

El método OnBindingComplete también permite que las clases derivadas controlen el evento sin adjuntar ningún delegado.The OnBindingComplete method also allows derived classes to handle the event without attaching a delegate. Ésta es la técnica preferida para controlar el evento en una clase derivada.This is the preferred technique for handling the event in a derived class.

Notas a los desarrolladores de herederos

Al reemplazar OnBindingComplete(BindingCompleteEventArgs) en una clase derivada, asegúrese de llamar al método OnBindingComplete(BindingCompleteEventArgs) de la clase base para que los delegados registrados reciban el evento.When overriding OnBindingComplete(BindingCompleteEventArgs) in a derived class, be sure to call the base class's OnBindingComplete(BindingCompleteEventArgs) method so that registered delegates receive the event.

Se aplica a