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 | |
---|---|---|
Count | Gets a count of the number of XDocument objects contained in the collection. | |
Item | Gets a reference to the specified XDocument object from the collection. |
Top
Public Methods
Name | Description | |
---|---|---|
Close | Closes the specified Microsoft Office InfoPath form. | |
GetEnumerator | Gets an IEnumerator that iterates over all entries in the XDocumentsCollection object. | |
New | Creates a new Microsoft Office InfoPath form based on the specified form. | |
NewFromSolution | Creates a new Microsoft Office InfoPath form based on the specified form template. | |
NewFromSolutionWithData | Creates a new Microsoft Office InfoPath form using the specified XML data and form template. | |
Open | Opens the specified Microsoft Office InfoPath form. |
Top
See Also
Reference
XDocuments2 Interface
Microsoft.Office.Interop.InfoPath Namespace