System.Xml.Linq

System.Xml.Linq Namespace

 

Contains the classes for LINQ to XML. LINQ to XML is an in-memory XML programming interface that enables you to modify XML documents efficiently and easily.

ClassDescription
System_CAPS_pubclassExtensions

Contains the LINQ to XML extension methods.

System_CAPS_pubclassXAttribute

Represents an XML attribute.

System_CAPS_pubclassXCData

Represents a text node that contains CDATA.

System_CAPS_pubclassXComment

Represents an XML comment.

System_CAPS_pubclassXContainer

Represents a node that can contain other nodes.

System_CAPS_pubclassXDeclaration

Represents an XML declaration.

System_CAPS_pubclassXDocument

Represents an XML document. For the components and usage of an XDocument object, see XDocument Class Overview.

To browse the .NET Framework source code for this type, see the Reference Source.

System_CAPS_pubclassXDocumentType

Represents an XML Document Type Definition (DTD).

System_CAPS_pubclassXElement

Represents an XML element. See XElement Class Overview and the Remarks section on this page for usage information and examples.

To browse the .NET Framework source code for this type, see the Reference Source.

System_CAPS_pubclassXName

Represents a name of an XML element or attribute.

System_CAPS_pubclassXNamespace

Represents an XML namespace. This class cannot be inherited.

System_CAPS_pubclassXNode

Represents the abstract concept of a node (element, comment, document type, processing instruction, or text node) in the XML tree.

System_CAPS_pubclassXNodeDocumentOrderComparer

Contains functionality to compare nodes for their document order. This class cannot be inherited.

System_CAPS_pubclassXNodeEqualityComparer

Compares nodes to determine whether they are equal. This class cannot be inherited.

System_CAPS_pubclassXObject

Represents a node or an attribute in an XML tree.

System_CAPS_pubclassXObjectChangeEventArgs

Provides data for the Changing and Changed events.

System_CAPS_pubclassXProcessingInstruction

Represents an XML processing instruction.

System_CAPS_pubclassXStreamingElement

Represents elements in an XML tree that supports deferred streaming output.

System_CAPS_pubclassXText

Represents a text node.

EnumerationDescription
System_CAPS_pubenumLoadOptions

Specifies load options when parsing XML.

System_CAPS_pubenumReaderOptions

Specifies whether to omit duplicate namespaces when loading an XDocument with an XmlReader.

System_CAPS_pubenumSaveOptions

Specifies serialization options.

System_CAPS_pubenumXObjectChange

Specifies the event type when an event is raised for an XObject.

Using LINQ to XML, you can:

  • Load XML from files or streams.

  • Serialize XML to files or streams.

  • Create XML trees from scratch using functional construction.

  • Query XML trees using LINQ queries.

  • Manipulate in-memory XML trees.

  • Validate XML trees using XSD.

  • Use a combination of these features to transform XML trees from one shape into another.

Return to top
Show:
© 2016 Microsoft