OpenXmlElement.Descendants<T> method

Office 2013 and later

Enumerate all of the current element's descendants of type T.

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

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

Type parameters

T

The element type.

Show: