_Application3.XDocuments Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a reference to the XDocuments collection.
public:
property Microsoft::Office::Interop::InfoPath::XDocumentsCollection ^ XDocuments { Microsoft::Office::Interop::InfoPath::XDocumentsCollection ^ get(); };
public Microsoft.Office.Interop.InfoPath.XDocumentsCollection XDocuments { get; }
member this.XDocuments : Microsoft.Office.Interop.InfoPath.XDocumentsCollection
Public ReadOnly Property XDocuments As XDocumentsCollection
Property Value
A reference to the XDocuments collection.
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.