FormControl.SyncLastChange 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.
Synchronizes the underlying data of the form with changes in the view.
public:
virtual void SyncLastChange();
public virtual void SyncLastChange ();
abstract member SyncLastChange : unit -> unit
override this.SyncLastChange : unit -> unit
Public Overridable Sub SyncLastChange ()
Remarks
Use this method when a user clicks outside the FormControl object to the host application after making a change to a field without tabbing or otherwise committing that change to the underlying XML document of the form.
For more information about the FormControl object, see Hosting the InfoPath Form Editing Environment in a Custom Windows Form Application