InfoPathEditor.FlushDocument Method
InfoPath Developer Reference |
Synchronizes the underlying data of the form with changes in the view.
Version Information
Version Added: InfoPath 2007
Syntax
expression.FlushDocument
expression An expression that returns an InfoPathEditor object.
Return Value
[HRESULT]
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 DOM.
The FlushDocument method of the InfoPathEditor object is not intended to be used in custom form code. It is available for use when the InfoPathEditor object is hosted in a custom COM-based application. For more information, see Hosting InfoPath as an XML Editor in Another Application and What's New for InfoPath Developers.
This object or member is used for extending the InfoPath application and is not intended to be used directly from your form code.
See Also