XDocumentsCollection interface
Contains an XDocument object for each form that is currently open.
Namespace: Microsoft.Office.Interop.InfoPath
Assembly: Microsoft.Office.Interop.InfoPath (in Microsoft.Office.Interop.InfoPath.dll)
Syntax
'Declaration
<GuidAttribute("096CD647-0786-11D1-95FA-0080C78EE3BB")> _
Public Interface XDocumentsCollection _
Inherits XDocuments2
'Usage
Dim instance As XDocumentsCollection
[GuidAttribute("096CD647-0786-11D1-95FA-0080C78EE3BB")]
public interface XDocumentsCollection : XDocuments2
Remarks
This type is a wrapper for a COM interface implemented by a coclass that is required by managed code for COM interoperability. To access the members specified by this interface, use the type that wraps the coclass that implements this interface. For information about that type, including usage, remarks, and examples, 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.