Edit

Share via


_Application2.XDocuments Property

Definition

Gets a reference to the XDocuments collection.

public:
 property Microsoft::Office::Interop::InfoPath::SemiTrust::XDocumentsCollection ^ XDocuments { Microsoft::Office::Interop::InfoPath::SemiTrust::XDocumentsCollection ^ get(); };
public Microsoft.Office.Interop.InfoPath.SemiTrust.XDocumentsCollection XDocuments { get; }
member this.XDocuments : Microsoft.Office.Interop.InfoPath.SemiTrust.XDocumentsCollection
Public ReadOnly Property XDocuments As XDocumentsCollection

Property Value

Implements

Examples

In the following example, the XDocuments property is used to access the Count property of the XDocumentsCollection collection and display the value in a message box:

thisXDocument.UI.Alert("Count of XDocuments: " + thisApplication.<span class="label">XDocuments</span>.Count);

Remarks

After you have set a reference to the XDocuments collection, you can use its properties to access each of the XDocumentobjects that it contains.

Important: This member can be accessed without restrictions.

Applies to