System.Xml.Linq.XNode
Represents the abstract concept of a node (element, comment, document type, processing instruction, or text node) in the XML tree.
Gets a comparer that can compare the relative position of two nodes.
Gets a comparer that can compare two nodes for value equality.
Gets the next sibling node of this node.
Gets the previous sibling node of this node.
Compares two nodes to determine their relative XML document order.
Compares the values of two nodes, including the values of all descendant nodes.
Adds the specified content immediately after this node.
Adds the specified content immediately after this node.
Adds the specified content immediately before this node.
Adds the specified content immediately before this node.
Returns a collection of the ancestor elements of this node.
Returns a filtered collection of the ancestor elements of this node. Only elements that have a matching XName are included in the collection.
Creates an XmlReader for this node.
Creates an XmlReader with the options specified by the readerOptions parameter.
Returns a collection of the sibling elements after this node, in document order.
Returns a filtered collection of the sibling elements after this node, in document order. Only elements that have a matching XName are included in the collection.
Returns a collection of the sibling elements before this node, in document order.
Returns a filtered collection of the sibling elements before this node, in document order. Only elements that have a matching XName are included in the collection.
Determines if the current node appears after a specified node in terms of document order.
Determines if the current node appears before a specified node in terms of document order.
Returns a collection of the sibling nodes after this node, in document order.
Returns a collection of the sibling nodes before this node, in document order.
Removes this node from its parent.
Replaces this node with the specified content.
Replaces this node with the specified content.
Returns the XML for this node, optionally disabling formatting.
Writes this node to an XmlWriter.