XDocuments2.GetEnumerator Method
Gets an IEnumerator that iterates over all entries in the XDocumentsCollection object.
Namespace: Microsoft.Office.Interop.InfoPath.SemiTrust
Assembly: Microsoft.Office.Interop.InfoPath.SemiTrust (in Microsoft.Office.Interop.InfoPath.SemiTrust.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.