Share via


XDocuments2 Members

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, seeXDocumentsCollection.

The following tables list the members exposed by the XDocuments2 type.

Public Properties

  Name Description
Public property Count Gets a count of the number of XDocument objects contained in the collection.
Public property Item Gets a reference to the specified XDocument object from the collection.

Top

Public Methods

  Name Description
Public method Close Closes the specified Microsoft Office InfoPath form.
Public method GetEnumerator Gets an IEnumerator that iterates over all entries in the XDocumentsCollection object.
Public method New Creates a new Microsoft Office InfoPath form based on the specified form.
Public method NewFromSolution Creates a new Microsoft Office InfoPath form based on the specified form template.
Public method NewFromSolutionWithData Creates a new Microsoft Office InfoPath form using the specified XML data and form template.
Public method Open Opens the specified Microsoft Office InfoPath form.

Top

See Also

Reference

XDocuments2 Interface
Microsoft.Office.Interop.InfoPath Namespace