XDocuments2 Members

Include Protected Members
Include Inherited Members

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, seeXDocumentsCollection.

The XDocuments2 type exposes the following members.

Properties

  Name Description
Public property Count This member is a wrapper for a member of a COM interface that has been superseded by a later version. The later version of this interface implements all members of earlier interfaces and additional new members. For information about this member as it is implemented in the later interface, including usage, remarks, and examples, seeXDocuments2.Count. (Inherited from XDocuments.)
Public property Count Gets a count of the number of XDocument objects contained in the collection.
Public property Item[Object] This member is a wrapper for a member of a COM interface that has been superseded by a later version. The later version of this interface implements all members of earlier interfaces and additional new members. For information about this member as it is implemented in the later interface, including usage, remarks, and examples, seeXDocuments2.Item. (Inherited from XDocuments.)
Public property Item[Object] Gets a reference to the specified XDocument object from the collection.

Top

Methods

  Name Description
Public method Close(Object) This member is a wrapper for a member of a COM interface that has been superseded by a later version. The later version of this interface implements all members of earlier interfaces and additional new members. For information about this member as it is implemented in the later interface, including usage, remarks, and examples, seeXDocuments2.Close. (Inherited from XDocuments.)
Public method Close(Object) Closes the specified Microsoft InfoPath 2010 form.
Public method GetEnumerator() This member is a wrapper for a member of a COM interface that has been superseded by a later version. The later version of this interface implements all members of earlier interfaces and additional new members. For information about this member as it is implemented in the later interface, including usage, remarks, and examples, seeXDocuments2.GetEnumerator. (Inherited from XDocuments.)
Public method GetEnumerator() Gets an IEnumerator that iterates over all entries in the XDocumentsCollection object.
Public method New(Object, Int32) This member is a wrapper for a member of a COM interface that has been superseded by a later version. The later version of this interface implements all members of earlier interfaces and additional new members. For information about this member as it is implemented in the later interface, including usage, remarks, and examples, seeXDocuments2.New. (Inherited from XDocuments.)
Public method New(Object, Int32) Creates a new Microsoft InfoPath 2010 form based on the specified form.
Public method NewFromSolution(Object) This member is a wrapper for a member of a COM interface that has been superseded by a later version. The later version of this interface implements all members of earlier interfaces and additional new members. For information about this member as it is implemented in the later interface, including usage, remarks, and examples, seeXDocuments2.NewFromSolution. (Inherited from XDocuments.)
Public method NewFromSolution(Object) Creates a new Microsoft InfoPath 2010 form based on the specified form template.
Public method NewFromSolutionWithData Creates a new Microsoft InfoPath 2010 form using the specified XML data and form template.
Public method Open(Object, Int32) This member is a wrapper for a member of a COM interface that has been superseded by a later version. The later version of this interface implements all members of earlier interfaces and additional new members. For information about this member as it is implemented in the later interface, including usage, remarks, and examples, seeXDocuments2.Open. (Inherited from XDocuments.)
Public method Open(Object, Int32) Opens the specified Microsoft InfoPath 2010 form.

Top

See Also

Reference

XDocuments2 Interface

Microsoft.Office.Interop.InfoPath.SemiTrust Namespace