次の方法で共有


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