Share via


OpenXmlElementList.GetEnumerator Method

Returns an enumerator that iterates through the collection.

Namespace:  DocumentFormat.OpenXml
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
Public MustOverride Function GetEnumerator As IEnumerator(Of OpenXmlElement)
'Usage
Dim instance As OpenXmlElementList
Dim returnValue As IEnumerator(Of OpenXmlElement)

returnValue = instance.GetEnumerator()
public abstract IEnumerator<OpenXmlElement> GetEnumerator()

Return Value

Type: System.Collections.Generic.IEnumerator<OpenXmlElement>
An IEnumerator object that can be used to iterate through the collection.

Implements

IEnumerable<T>.GetEnumerator()

See Also

Reference

OpenXmlElementList Class

OpenXmlElementList Members

DocumentFormat.OpenXml Namespace