_Application3.XDocuments 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取对集合的 XDocuments 引用。
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
属性值
实现
示例
在以下示例中,XDocuments 属性用于访问集合的 XDocumentsCollectionCount 属性并在消息框中显示值:
thisXDocument.UI.Alert("Count of XDocuments: " +
thisApplication.<span class="label">XDocuments</span>.Count);
thisXDocument.UI.Alert("Count of XDocuments: " & _
thisApplication.<span class="label">XDocuments</span>.Count)
在以下示例中,XDocuments 属性用于访问集合的 XDocumentsCollectionCount 属性并在消息框中显示值:
thisXDocument.UI.Alert("Count of XDocuments: " +
thisApplication.<span class="label">XDocuments</span>.Count);
thisXDocument.UI.Alert("Count of XDocuments: " & _
thisApplication.<span class="label">XDocuments</span>.Count)
注解
设置对 XDocuments 集合的引用后,可以使用其属性访问它包含的每个 XDocument对象。
重要说明:可以不受限制地访问此成员。