How do I search just the children of an XDocument, rather than all of its descendants?
-
18-09-2019 - |
Question
I can't seem to find anything other than XDocument.Descendants ()
in the documentation. Is there any way to do this?
Solution
what you're looking for might be XDocument.Elements()
. MSDN Reference.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow