Partager via


OpenXmlElement.GetEnumerator Method

Returns an enumerator that iterates through the child collection.

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

Syntax

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

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

Return Value

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

Implements

IEnumerable<T>.GetEnumerator()

See Also

Reference

OpenXmlElement Class

OpenXmlElement Members

DocumentFormat.OpenXml Namespace