Share via


CustomTaskPaneCollection.IEnumerable.GetEnumerator Method (2007 System)

Returns an enumerator that iterates through the CustomTaskPaneCollection.

Namespace:  Microsoft.Office.Tools
Assembly:  Microsoft.Office.Tools.Common.v9.0 (in Microsoft.Office.Tools.Common.v9.0.dll)

Syntax

'Declaration
Private Function GetEnumerator As IEnumerator 
    Implements IEnumerable.GetEnumerator
'Usage
Dim instance As CustomTaskPaneCollection 
Dim returnValue As IEnumerator 

returnValue = CType(instance, IEnumerable).GetEnumerator()
IEnumerator IEnumerable.GetEnumerator()
private:
virtual IEnumerator^ GetEnumerator() sealed = IEnumerable::GetEnumerator
JScript does not support explicit interface implementations.

Return Value

Type: System.Collections.IEnumerator
An IEnumerator that can be used to iterate through the CustomTaskPaneCollection.

Implements

IEnumerable.GetEnumerator()

Exceptions

Exception Condition
ObjectDisposedException

The Dispose method has already been called on the CustomTaskPaneCollection.

.NET Framework Security

See Also

Reference

CustomTaskPaneCollection Class

CustomTaskPaneCollection Members

Microsoft.Office.Tools Namespace