Share via


DataObjects.GetEnumerator method

Gets an IEnumerator that iterates over all entries in the DataObjectsCollection 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 DataObjects
Dim returnValue As IEnumerator

returnValue = instance.GetEnumerator()
IEnumerator GetEnumerator()

Return value

Type: System.Collections.IEnumerator

Implements

IEnumerable.GetEnumerator()

Remarks

An IEnumerator that iterates over all entries in the DataObjectsCollection object.

See also

Reference

DataObjects interface

DataObjects members

GetEnumerator overload

Microsoft.Office.Interop.InfoPath namespace