Descendants(T) method
Collapse the table of content
Expand the table of content

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:
© 2016 Microsoft