XDocumentsCollection interface

Office 2013 and later

Contains an XDocument object for each Microsoft InfoPath form that is currently open.

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

<GuidAttribute("096cd647-0786-11d1-95fa-0080c78ee3bb")> _
Public Interface XDocumentsCollection _
	Inherits XDocuments2, XDocuments
Dim instance As XDocumentsCollection

This type is a wrapper for a coclass that is required by managed code for COM interoperability. Use this type to access the members of the COM interface implemented by this coclass. For information about the COM interface, including a link to descriptions of its members, seeXDocuments2.

The XDocumentsCollection implements a number of properties and methods that can be used to access a form's associated XDocument object, or to create and open the forms themselves. The XDocumentsCollection is accessed through the XDocuments property of the Application object.