System.Windows.Forms.BindingContext.UpdateBinding Method

Associates a System.Windows.Forms.Binding with a new System.Windows.Forms.BindingContext.

Syntax

public static void UpdateBinding (BindingContext newBindingContext, Binding binding)

Parameters

newBindingContext
The new System.Windows.Forms.BindingContext to associate with the System.Windows.Forms.Binding.
binding
The System.Windows.Forms.Binding to associate with the new System.Windows.Forms.BindingContext.

Remarks

This method is intended update the bindings of components that implement System.Windows.Forms.IBindableComponent, when their System.Windows.Forms.BindingContext changes.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0