TaskPaneCollection.GetEnumerator method

Gets an IEnumerator that iterates over all entries in the TaskPaneCollection collection.

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

Syntax

'Declaration
Public MustOverride Function GetEnumerator As IEnumerator
'Usage
Dim instance As TaskPaneCollection
Dim returnValue As IEnumerator

returnValue = instance.GetEnumerator()
public abstract IEnumerator GetEnumerator()

Return value

Type: System.Collections.IEnumerator
An IEnumerator that iterates over all entries in the TaskPaneCollection collection.

Implements

IEnumerable.GetEnumerator()

Remarks

This member can be accessed without restrictions.

This type or member can be accessed only from code running in forms opened in Microsoft InfoPath Filler.

See also

Reference

TaskPaneCollection class

TaskPaneCollection members

Microsoft.Office.InfoPath namespace