BindingContext.UpdateBinding(BindingContext, Binding) BindingContext.UpdateBinding(BindingContext, Binding) BindingContext.UpdateBinding(BindingContext, Binding) Method

Definición

Asocia una clase Binding a un nuevo objeto BindingContext.Associates a Binding with a new BindingContext.

public:
 static void UpdateBinding(System::Windows::Forms::BindingContext ^ newBindingContext, System::Windows::Forms::Binding ^ binding);
public static void UpdateBinding (System.Windows.Forms.BindingContext newBindingContext, System.Windows.Forms.Binding binding);
static member UpdateBinding : System.Windows.Forms.BindingContext * System.Windows.Forms.Binding -> unit

Parámetros

newBindingContext
BindingContext BindingContext BindingContext

Nuevo objeto BindingContext que se va a asociar a Binding.The new BindingContext to associate with the Binding.

binding
Binding Binding Binding

Clase Binding que se va a asociar al nuevo objeto BindingContext.The Binding to associate with the new BindingContext.

Comentarios

Este método está diseñado para actualizar los enlaces de componentes que implementan IBindableComponent, cuando su BindingContext cambios.This method is intended update the bindings of components that implement IBindableComponent, when their BindingContext changes.

Se aplica a