Edit

Share via


InfoPathEditor.FlushDocument Method

Definition

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.

Applies to