IEnumerable<T>.Elements Method
Include Protected Members
Include Inherited Members
Returns a collection of the child elements of every element and document in the source collection.
Overload List
Name | Description | |
---|---|---|
Elements() | Returns a collection of the child elements of every element and document in the source collection. (Defined by Extensions.) | |
Elements(XName) | Returns a filtered collection of the child elements of every element and document in the source collection. Only elements that have a matching XName are included in the collection. (Defined by Extensions.) |
Top
Remarks
Visual Basic contains an integrated elements axis that allows you to find all child elements with a specified XName for every element in the source collection.
This method uses deferred execution.
See Also
Reference
System.Collections.Generic Namespace