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
ReadOnly Property XDocuments As XDocumentsCollection
    Get
'Usage
Dim instance As _Application3
Dim value As XDocumentsCollection

value = instance.XDocuments
XDocumentsCollection XDocuments { get; }

Property value

Type: Microsoft.Office.Interop.InfoPath.XDocumentsCollection
A reference to the XDocuments collection.

Implements

_Application2.XDocuments

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.

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

See also

Reference

_Application3 interface

_Application3 members

XDocuments overload

Microsoft.Office.Interop.InfoPath namespace