_Application3.XDocuments 属性

定义

获取对集合的 XDocuments 引用。

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

属性值

对集合的 XDocuments 引用。

实现

示例

在以下示例中,XDocuments 属性用于访问集合的 XDocumentsCollectionCount 属性并在消息框中显示值:

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

注解

设置对 XDocuments 集合的引用后,可以使用其属性访问它包含的每个 XDocument对象。

适用于