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.

public interface class XDocuments2 : Microsoft::Office::Interop::InfoPath::SemiTrust::XDocuments
[System.Runtime.InteropServices.Guid("096cd647-0786-11d1-95fa-0080c78ee3bb")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsDual)]
public interface XDocuments2 : Microsoft.Office.Interop.InfoPath.SemiTrust.XDocuments
type XDocuments2 = interface
    interface XDocuments
Public Interface XDocuments2
Implements 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 InfoPath form.

GetEnumerator()

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

New(Object, Int32)

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

NewFromSolution(Object)

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

NewFromSolutionWithData(Object, Object, Int32)

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

Open(Object, Int32)

Opens the specified Microsoft InfoPath form.

Applies to