Share via


_Application3.XDocuments Property

Gets a reference to the XDocuments collection.

Namespace: Microsoft.Office.Interop.InfoPath
Assembly: Microsoft.Office.Interop.InfoPath (in microsoft.office.interop.infopath.dll)

Syntax

'Declaration
'Usage

Property Value

A reference to the XDocuments collection.

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.

Example

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.XDocuments.Count);

See Also

Reference

_Application3 Interface
_Application3 Members
Microsoft.Office.Interop.InfoPath Namespace