InfoPathEditor.CloseDocument method

Closes the active form in the InfoPathEditor object.

Namespace:  Microsoft.Office.Interop.InfoPath
Assembly:  Microsoft.Office.Interop.InfoPath (in Microsoft.Office.Interop.InfoPath.dll)

Syntax

'Declaration
Sub CloseDocument
'Usage
Dim instance As InfoPathEditor

instance.CloseDocument()
void CloseDocument()

Remarks

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 Application and the "The InfoPath Editor Hosted As a Control" section of What's New for InfoPath Developers.

See also

Reference

InfoPathEditor interface

InfoPathEditor members

Microsoft.Office.Interop.InfoPath namespace