This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!
XmlNode Members
Public:
Properties
Attributes |
Gets an XmlAttributeCollection containing the attributes of this node. |
ChildNodes |
Gets all children of this node. |
FirstChild |
Gets the first child of this 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 children. |
InnerXml |
Gets or sets the markup representing just the children of this node. |
IsReadOnly |
Gets a value indicating whether the node is read-only. |
Item |
Overloaded. [To be supplied.]
In C#, this member is the indexer for the XmlNode class.
|
LastChild |
Gets the last child of this node. |
LocalName |
Gets the name of the node without the namespace prefix. |
Name |
Gets the name of the node. |
NamespaceURI |
Gets the namespace URI of this node. |
NextSibling |
Gets the node immediately following this node. |
NodeType |
Gets the type of the current node. |
OuterXml |
Gets the markup representing this node and all its children. |
OwnerDocument |
Gets the XmlDocument that contains this node. |
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. |
Value |
Gets or sets the value of the node. |
Methods
AppendChild |
Adds the specified node to the end of the list of children of this node. |
Clone |
Creates a duplicate of this node. |
CloneNode |
Creates a duplicate of this node. |
Equals (inherited from Object) |
Determines whether the specified Object is the same instance as the current Object. Subclasses are expected to override this method to support value equality (not reference equality). |
GetEnumerator |
Provides a simple ForEach-style iteration over the collection of nodes in this XmlNamedNodeMap. |
GetHashCode (inherited from Object) |
Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
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 (inherited from Object) |
Gets the Type of the 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 (e.g., 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 children of this node. |
RemoveAll |
Removes all the children and/or attributes of the current node. |
RemoveChild |
Removes specified child node. |
ReplaceChild |
Replaces the child node oldChild with newChild node. |
Supports |
Test if the DOM implementation implements a specific feature. |
ToString (inherited from Object) |
Returns a String that represents the current Object. |
WriteContentTo |
Saves all the children of the node to the specified XmlWriter. |
WriteTo |
Saves the current node to the specified XmlWriter. |
Protected:
Methods
Finalize (inherited from Object) |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by the Garbage Collector (GC). This method may be ignored by the runtime; therefore, necessary cleanup operations should be done elsewhere. |
MemberwiseClone (inherited from Object) |
Creates a shallow copy of the current Object. |
See Also
XmlNode Class | System.NewXml Namespace