XDocumentsCollection 接口
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
包含 XDocument 当前打开的每个 Microsoft InfoPath 表单的对象。
public interface class XDocumentsCollection : Microsoft::Office::Interop::InfoPath::SemiTrust::XDocuments2
[System.Runtime.InteropServices.Guid("096cd647-0786-11d1-95fa-0080c78ee3bb")]
public interface XDocumentsCollection : Microsoft.Office.Interop.InfoPath.SemiTrust.XDocuments2
type XDocumentsCollection = interface
interface XDocuments2
interface XDocuments
Public Interface XDocumentsCollection
Implements XDocuments2
- 属性
- 实现
注解
此类型是用于 Coclass(托管代码需要此 Coclass 来实现 COM 互操作性)的包装。 使用此类型来访问由此 Coclass 实现的 COM 接口。 有关 COM 接口的信息(包括指向其成员说明的链接),请参阅XDocuments2。
XDocumentsCollection 实现了许多属性和方法,可用来访问表单的相关 XDocument 对象,也可用来创建和打开表单本身。 XDocumentsCollection 是通过 XDocuments 对象的 属性访问的Application。
属性
Count |
获取集合中包含的对象数 XDocument 的计数。 (继承自 XDocuments2) |
Item[Object] |
从集合中获取对指定 XDocument 对象的引用。 (继承自 XDocuments2) |
方法
Close(Object) |
关闭指定的 Microsoft InfoPath 窗体。 (继承自 XDocuments2) |
GetEnumerator() |
获取一个循环访问对象中所有条目的 XDocumentsCollectionIEnumerator。 (继承自 XDocuments2) |
New(Object, Int32) |
基于指定的表单创建新的 Microsoft InfoPath 窗体。 (继承自 XDocuments2) |
NewFromSolution(Object) |
基于指定的表单模板创建新的 Microsoft InfoPath 表单。 (继承自 XDocuments2) |
NewFromSolutionWithData(Object, Object, Int32) |
使用指定的 XML 数据和表单模板创建新的 Microsoft InfoPath 表单。 (继承自 XDocuments2) |
Open(Object, Int32) |
打开指定的 Microsoft InfoPath 窗体。 (继承自 XDocuments2) |