OpenXmlElement.Elements
OpenXmlElement.Elements
OpenXmlElement.Elements
Method
Definition
Overloads
Elements() Elements() Elements() |
Enumerates all of the current element's children. |
Elements<T>() Elements<T>() Elements<T>() |
Enumerates only the current element's children that have the specified type. |
Elements() Elements() Elements()
Enumerates all of the current element's children.
public System.Collections.Generic.IEnumerable<DocumentFormat.OpenXml.OpenXmlElement> Elements ();
member this.Elements : unit -> seq<DocumentFormat.OpenXml.OpenXmlElement>
Public Function Elements () As IEnumerable(Of OpenXmlElement)
Returns
Elements<T>() Elements<T>() Elements<T>()
Enumerates only the current element's children that have the specified type.
public System.Collections.Generic.IEnumerable<T> Elements<T> () where T : DocumentFormat.OpenXml.OpenXmlElement;
member this.Elements : unit -> seq<'T (requires 'T :> DocumentFormat.OpenXml.OpenXmlElement)> (requires 'T :> DocumentFormat.OpenXml.OpenXmlElement)
Public Function Elements(Of T As OpenXmlElement) () As IEnumerable(Of T)
Type Parameters
- T
The element type.
Returns
IEnumerable<T>