BindingContext.UpdateBinding(BindingContext, Binding) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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);
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
Public Shared Sub UpdateBinding (newBindingContext As BindingContext, binding As Binding)
Parameters
- newBindingContext
- BindingContext
The new BindingContext to associate with the Binding.
- binding
- Binding
The Binding to associate with the new BindingContext.
Remarks
This method is intended update the bindings of components that implement IBindableComponent, when their BindingContext changes.
Applies to
Συνεργαστείτε μαζί μας στο GitHub
Μπορείτε να βρείτε την πηγή για αυτό το περιεχόμενο στο GitHub, όπου μπορείτε επίσης να δημιουργήσετε και να εξετάσετε ζητήματα και αιτήματα έλξης. Για περισσότερες πληροφορίες, ανατρέξτε στον οδηγό συνεργατών.