Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

System.Xml.XDocument

Provides the classes for Language-Integrated Query (LINQ) to Extensible Markup Language (XML). LINQ to XML is an in-memory XML programming interface that enables you to modify XML documents efficiently and easily. Commonly Used Types: System.Xml.Linq.XElement System.Xml.Linq.XAttribute System.Xml.Linq.XDocument System.Xml.Linq.XText System.Xml.Linq.XNode System.Xml.Linq.XContainer System.Xml.Linq.XComment System.Xml.Linq.XObject System.Xml.Linq.XProcessingInstruction System.Xml.Linq.XDocumentType When using NuGet 3.x this package requires at least version 3.4.

Author Microsoft
Version 4.3.0
Tags

02/02/2026 22:08:22: Doc summary created

Thanks for showing interest in the docs for System.Xml.XDocument! Looks like you're the first one so we haven't generated the docs yet. Just push the button below to initiate background doc generation. The docs should be ready in a few seconds (up to a few minutes if there are many dependencies), just reload the page to see them!