OpenXmlElement.Elements<T> method

Office 2013 and later

Enumerates only the current element's children that have the specified type.

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

public IEnumerable<T> Elements<T>()
where T : OpenXmlElement

Type parameters

T

The element type.

Show: