OpenXmlElement.Elements<T> Method

Enumerate for specific type of elements in child elements

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


Public Function Elements(Of T As OpenXmlElement) As IEnumerable(Of T)
Dim instance As OpenXmlElement
Dim returnValue As IEnumerable(Of T)

returnValue = instance.Elements()
public IEnumerable<T> Elements<T>()
where T : OpenXmlElement

Type Parameters

  • T
    Type of element.

Return Value

Type: System.Collections.Generic.IEnumerable<T>

See Also


OpenXmlElement Class

OpenXmlElement Members

Elements Overload

DocumentFormat.OpenXml Namespace