InfoPathEditor.FlushDocument 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:
void FlushDocument();
public void FlushDocument ();
abstract member FlushDocument : unit -> unit
Public Sub FlushDocument ()
Remarks
Use this method when a user clicks outside the InfoPathEditor 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 InfoPathEditor and the FormControl objects , see the MSDN article Hosting the InfoPath Form Editing Environment in a Custom Windows Form ApplicationWhat's New for InfoPath Developers.