 | OpenXmlElementDescendantsT Method |
Enumerate all of the current element's descendants of type T.
Namespace: DocumentFormat.OpenXmlAssembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll) Version: 2.20.0+Branch.release-v2.20.0.Sha.a873d3fbff9bffe179fea62486da950adf5be65d.a873d3fbff9bffe179fea62486da950adf5be65d
Syntaxpublic IEnumerable<T> Descendants<T>()
where T : OpenXmlElement
Public Function Descendants(Of T As OpenXmlElement) As IEnumerable(Of T)
public:
generic<typename T>
where T : OpenXmlElement
IEnumerable<T>^ Descendants()
member Descendants : unit -> IEnumerable<'T> when 'T : OpenXmlElement
Type Parameters
- T
- The element type.
Return Value
IEnumerableT
See Also