XNode Methods
.NET Framework 3.5
The XNode type exposes the following members.
| Name | Description | |
|---|---|---|
|
AddAfterSelf | Overloaded. Adds the specified content immediately after this node. |
|
AddAnnotation | Adds an object to the annotation list of this XObject. (Inherited from XObject.) |
|
AddBeforeSelf | Overloaded. Adds the specified content immediately before this node. |
|
Ancestors | Overloaded. Returns a collection of the ancestor elements of this node. |
|
Annotation | Overloaded. Gets an annotation from this XObject. |
|
Annotations | Overloaded. Gets a collection of annotations for this XObject. |
|
CompareDocumentOrder | Compares two nodes to determine their relative XML document order. |
|
CreateReader | Creates an XmlReader for this node. |
|
DeepEquals | Compares the values of two nodes, including the values of all descendant nodes. |
|
ElementsAfterSelf | Overloaded. Returns a collection of the sibling elements after this node, in document order. |
|
ElementsBeforeSelf | Overloaded. Returns a collection of the sibling elements before this node, in document order. |
|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
|
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
|
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetType | Gets the type of the current instance. (Inherited from Object.) |
|
IsAfter | Determines if the current node appears after a specified node in terms of document order. |
|
IsBefore | Determines if the current node appears before a specified node in terms of document order. |
|
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
NodesAfterSelf | Returns a collection of the sibling nodes after this node, in document order. |
|
NodesBeforeSelf | Returns a collection of the sibling nodes before this node, in document order. |
|
ReadFrom | Creates an XNode from an XmlReader. |
|
Remove | Removes this node from its parent. |
|
RemoveAnnotations | Overloaded. Removes annotations from this XObject. |
|
ReplaceWith | Overloaded. Replaces this node with the specified content. |
|
ToString | Overloaded. Returns the XML for this node, optionally disabling formatting. |
|
WriteTo | Writes this node to an XmlWriter. |
| Name | Description | |
|---|---|---|
|
CreateNavigator | Overloaded. Creates an XPathNavigator for an XNode. |
|
XPathEvaluate | Overloaded. Evaluates an XPath expression. |
|
XPathSelectElement | Overloaded. Selects an XElement using a XPath expression. |
|
XPathSelectElements | Overloaded. Selects a collection of elements using an XPath expression. |
| Name | Description | |
|---|---|---|
|
IXmlLineInfo.HasLineInfo | Gets a value indicating whether or not this XObject has line information. (Inherited from XObject.) |