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.