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.

Implements

XDocuments.GetEnumerator()

See also

Reference

XDocuments2 interface

XDocuments2 members

GetEnumerator overload

Microsoft.Office.Interop.InfoPath.SemiTrust namespace