Share via


XDocumentsCollection members

Include protected members
Include inherited members

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

The XDocumentsCollection type exposes the following members.

Properties

  Name Description
Public property Count Gets a count of the number of XDocument objects contained in the collection. (Inherited from XDocuments2.)
Public property Item[Object] Gets a reference to the specified XDocument object from the collection. (Inherited from XDocuments2.)

Top

Methods

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

Top

See also

Reference

XDocumentsCollection interface

Microsoft.Office.Interop.InfoPath namespace