XDocuments2 Interface

Definition

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.

C#
[System.Runtime.InteropServices.Guid("096CD647-0786-11D1-95FA-0080C78EE3BB")]
public interface XDocuments2 : Microsoft.Office.Interop.InfoPath.XDocuments
Derived
Attributes
Implements

Properties

Count

Gets a count of the number of XDocument objects contained in the collection.

Item[Object]

Gets a reference to the specified XDocument object from the collection.

Methods

Close(Object)

Closes the specified Microsoft Office InfoPath form.

GetEnumerator()

Gets an IEnumerator that iterates over all entries in the XDocumentsCollection object.

New(Object, Int32)

Creates a new Microsoft Office InfoPath form based on the specified form.

NewFromSolution(Object)

Creates a new Microsoft Office InfoPath form based on the specified form template.

NewFromSolutionWithData(Object, Object, Int32)

Creates a new Microsoft Office InfoPath form using the specified XML data and form template.

Open(Object, Int32)

Opens the specified Microsoft Office InfoPath form.

Applies to

Produkt Verzie
InfoPath form templates Latest