XDocumentsCollection Interface
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.
Contains an XDocument object for each form that is currently open.
public interface class XDocumentsCollection : Microsoft::Office::Interop::InfoPath::XDocuments2
[System.Runtime.InteropServices.Guid("096CD647-0786-11D1-95FA-0080C78EE3BB")]
public interface XDocumentsCollection : Microsoft.Office.Interop.InfoPath.XDocuments2
type XDocumentsCollection = interface
interface XDocuments2
Public Interface XDocumentsCollection
Implements XDocuments2
- Derived
- Attributes
- Implements
Remarks
This type is a wrapper for a COM interface implemented by a coclass that is required by managed code for COM interoperability. To access the members specified by this interface, use the type that wraps the coclass that implements this interface. For information about that type, including usage, remarks, and examples, seeXDocuments2.
The XDocumentsCollection implements a number of properties and methods that can be used to access a form's associated XDocument object, or to create and open the forms themselves. The XDocumentsCollection is accessed through the XDocuments property of the Application object.
Properties
Count |
Gets a count of the number of XDocument objects contained in the collection. (Inherited from XDocuments2) |
Item[Object] |
Gets a reference to the specified XDocument object from the collection. (Inherited from XDocuments2) |
Methods
Close(Object) |
Closes the specified Microsoft Office InfoPath form. (Inherited from XDocuments2) |
GetEnumerator() |
Gets an IEnumerator that iterates over all entries in the XDocumentsCollection object. (Inherited from XDocuments2) |
New(Object, Int32) |
Creates a new Microsoft Office InfoPath form based on the specified form. (Inherited from XDocuments2) |
NewFromSolution(Object) |
Creates a new Microsoft Office InfoPath form based on the specified form template. (Inherited from XDocuments2) |
NewFromSolutionWithData(Object, Object, Int32) |
Creates a new Microsoft Office InfoPath form using the specified XML data and form template. (Inherited from XDocuments2) |
Open(Object, Int32) |
Opens the specified Microsoft Office InfoPath form. (Inherited from XDocuments2) |
Applies to
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기