XmlNode Members
Represents a single node in the XML document.
The following tables list the members exposed by the XmlNode type.
| Name | Description | |
|---|---|---|
| Attributes | Gets an XmlAttributeCollection containing the attributes of this node. |
| BaseURI | Gets the base URI of the current node. |
| ChildNodes | Gets all the child nodes of the node. |
| FirstChild | Gets the first child of the node. |
| HasChildNodes | Gets a value indicating whether this node has any child nodes. |
| InnerText | Gets or sets the concatenated values of the node and all its child nodes. |
| InnerXml | Gets or sets the markup representing only the child nodes of this node. |
| IsReadOnly | Gets a value indicating whether the node is read-only. |
| Item | Overloaded. Gets the specified child element. |
| LastChild | Gets the last child of the node. |
| LocalName | When overridden in a derived class, gets the local name of the node. |
| Name | When overridden in a derived class, gets the qualified name of the node. |
| NamespaceURI | Gets the namespace URI of this node. |
| NextSibling | Gets the node immediately following this node. |
| NodeType | When overridden in a derived class, gets the type of the current node. |
| OuterXml | Gets the markup representing this node and all its child nodes. |
| OwnerDocument | Gets the XmlDocument to which this node belongs. |
| ParentNode | Gets the parent of this node (for nodes that can have parents). |
| Prefix | Gets or sets the namespace prefix of this node. |
| PreviousSibling | Gets the node immediately preceding this node. |
| SchemaInfo | Gets the post schema validation infoset that has been assigned to this node as a result of schema validation. |
| Value | Gets or sets the value of the node. |
(see also
Protected Methods
)
Top
| Name | Description | |
|---|---|---|
| AppendChild | Adds the specified node to the end of the list of child nodes, of this node. |
| Clone | Creates a duplicate of this node. |
| CloneNode | When overridden in a derived class, creates a duplicate of the node. |
| CreateNavigator | Creates an XPathNavigator for navigating this object. |
| Equals | Overloaded. Determines whether two Object instances are equal. (inherited from Object) |
| GetEnumerator | Provides support for the for each style iteration over the nodes in the XmlNode. |
| GetHashCode | Serves as a hash function for a particular type. (inherited from Object) |
| GetNamespaceOfPrefix | Looks up the closest xmlns declaration for the given prefix that is in scope for the current node and returns the namespace URI in the declaration. |
| GetPrefixOfNamespace | Looks up the closest xmlns declaration for the given namespace URI that is in scope for the current node and returns the prefix defined in that declaration. |
| GetType | Gets the Type of the current instance. (inherited from Object) |
| InsertAfter | Inserts the specified node immediately after the specified reference node. |
| InsertBefore | Inserts the specified node immediately before the specified reference node. |
| Normalize | Puts all XmlText nodes in the full depth of the sub-tree underneath this XmlNode into a "normal" form where only markup (that is, tags, comments, processing instructions, CDATA sections, and entity references) separates XmlText nodes, that is, there are no adjacent XmlText nodes. |
| PrependChild | Adds the specified node to the beginning of the list of child nodes for this node. |
| ReferenceEquals | Determines whether the specified Object instances are the same instance. (inherited from Object) |
| RemoveAll | Removes all the child nodes and/or attributes of the current node. |
| RemoveChild | Removes specified child node. |
| ReplaceChild | Replaces the child node oldChild with newChild node. |
| SelectNodes | Overloaded. Selects a list of nodes matching the XPath expression. |
| SelectSingleNode | Overloaded. Selects the first XmlNode that matches the XPath expression. |
| Supports | Test if the DOM implementation implements a specific feature. |
| ToString | Returns a String that represents the current Object. (inherited from Object) |
| WriteContentTo | When overridden in a derived class, saves all the child nodes of the node to the specified XmlWriter. |
| WriteTo | When overridden in a derived class, saves the current node to the specified XmlWriter. |
| Name | Description | |
|---|---|---|
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object) |
| MemberwiseClone | Creates a shallow copy of the current Object. (inherited from Object) |
Reference
XmlNode ClassSystem.Xml Namespace
SelectNodes