All C# extension methods for type xelement
Try/Get pattern for XDocument attributes
This one allows you to get nested XML from within a node. Let's say you're parsing an HTML file using the XDocument class and you want to pull out the nested code including tags. This is what you can use!
Find parent XElement from a provided name. Returns null if no match
ExtensionMethod.NET was built by
Loek van den Ouweland and Fons Sonnemans
By using this website, you agree to the legal stuff.
We thank all who contributed to this website for the last twelve years. It really helped making this website a success!
Just looking for examples? Visit our sister site
Looking for Visual Studio Code Snippets? Visit our sister site VisualStudioCodeSnippets.com.