XDocumentsCollection interface

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)

Syntax

'Declaration
<GuidAttribute("096cd647-0786-11d1-95fa-0080c78ee3bb")> _
Public Interface XDocumentsCollection _
    Inherits XDocuments2, XDocuments
'Usage
Dim instance As XDocumentsCollection
[GuidAttribute("096cd647-0786-11d1-95fa-0080c78ee3bb")]
public interface XDocumentsCollection : XDocuments2, 
    XDocuments

Remarks

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.

See also

Reference

XDocumentsCollection members

Microsoft.Office.Interop.InfoPath.SemiTrust namespace