Partager via


OpenXmlElement.Descendants Method

Enumerate all the descendants elements of this element. Preorder traversering.

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

Syntax

'Declaration
Public Function Descendants As IEnumerable(Of OpenXmlElement)
'Usage
Dim instance As OpenXmlElement
Dim returnValue As IEnumerable(Of OpenXmlElement)

returnValue = instance.Descendants()
public IEnumerable<OpenXmlElement> Descendants()

Return Value

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

See Also

Reference

OpenXmlElement Class

OpenXmlElement Members

Descendants Overload

DocumentFormat.OpenXml Namespace