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
Exceptions
Exception | Condition |
---|---|
ObjectDisposedException | The Dispose method has already been called on the CustomTaskPaneCollection. |
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
CustomTaskPaneCollection Class