Share via


XDocuments2.GetEnumerator method

Gets an IEnumerator that iterates over all entries in the XDocumentsCollection object.

Namespace:  Microsoft.Office.Interop.InfoPath
Assembly:  Microsoft.Office.Interop.InfoPath (in Microsoft.Office.Interop.InfoPath.dll)

Syntax

'Declaration
Function GetEnumerator As IEnumerator
'Usage
Dim instance As XDocuments2
Dim returnValue As IEnumerator

returnValue = instance.GetEnumerator()
IEnumerator GetEnumerator()

Return value

Type: System.Collections.IEnumerator
An IEnumerator that iterates over all entries in the XDocumentsCollection object.

Implements

XDocuments.GetEnumerator()

See also

Reference

XDocuments2 interface

XDocuments2 members

GetEnumerator overload

Microsoft.Office.Interop.InfoPath namespace