BindingContext.UpdateBinding Method (BindingContext, Binding)

 

Associates a Binding with a new BindingContext.

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

public static void UpdateBinding(
	BindingContext newBindingContext,
	Binding binding
)

Parameters

newBindingContext
Type: System.Windows.Forms.BindingContext

The new BindingContext to associate with the Binding.

binding
Type: System.Windows.Forms.Binding

The Binding to associate with the new BindingContext.

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

.NET Framework
Available since 2.0
Return to top
Show: