XmlDocument Class
Represents an XML document. This class cannot be inherited.
Definition
| public sealed class XmlDocument: XmlNode |
Members Table
The following table lists the members exposed by the XmlDocument object. Click a tab on the left to choose the type of member you want to view.
Methods
| Method | Description |
|---|
| AppendChild | Adds the specified node to the end of the list of child nodes, of this node. (Inherited from XmlNode) |
| Clone | Creates a duplicate of this node. (Inherited from XmlNode) |
| CloneNode | When overridden in a derived class, creates a duplicate of the node. (Inherited from XmlNode) |
| Create | Overloaded. Creates a new XmlDocument. |
| CreateAttribute | Creates an XmlAttribute with the specified XmlDocument. |
| CreateElement | Creates an element with the specified name. |
| CreateTextNode | Creates an XmlText with the specified text. |
| Dispose | Inherited from XmlNode. |
| Equals | Overloaded. Compares two objects to determine if they are equal. (Inherited from Object) |
| GetEnumerator | Provides support for the for each style iteration over the nodes in the XmlNode. (Inherited from XmlNode) |
| GetHashCode | Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object) |
| GetType | Gets the Type of the current instance. (Inherited from Object) |
| InsertAfter | Inserts the specified node immediately after the specified reference node. (Inherited from XmlNode) |
| InsertBefore | Inserts the specified node immediately before the specified reference node. (Inherited from XmlNode) |
| LoadXml | Loads the XML document from the specified string. |
| PrependChild | Adds the specified node to the beginning of the list of child nodes for this node. (Inherited from XmlNode) |
| 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. (Inherited from XmlNode) |
| RemoveChild | Removes specified child node. (Inherited from XmlNode) |
| ReplaceChild | Replaces the child node oldChild with newChild node. (Inherited from XmlNode) |
| ToString | Returns a String that represents the current Object. (Inherited from Object) |
| this[] | Gets the first child element with the specified Name. (Inherited from XmlNode) |
Properties
| Property | Description |
|---|
| Attributes | Gets an XmlAttributeCollection containing the attributes of this node. (Inherited from XmlNode) |
| ChildNodes | Gets all the child nodes of the node. (Inherited from XmlNode) |
| DocumentType | Gets the node that contains the declaration of the document type. |
| FirstChild | Gets the first child of the node. (Inherited from XmlNode) |
| HasChildNodes | Gets a value indicating whether this node has any child nodes. (Inherited from XmlNode) |
| InnerXml | Gets or sets the markup representing only the child nodes of this node. (Inherited from XmlNode) |
| IsReadOnly | Gets a value indicating whether the node is read-only. (Inherited from XmlNode) |
| LastChild | Gets the last child of the node. (Inherited from XmlNode) |
| LocalName | When overridden in a derived class, gets the local name of the node. (Inherited from XmlNode) |
| Name | When overridden in a derived class, gets the qualified name of the node. (Inherited from XmlNode) |
| NextSibling | Gets the node immediately following this node. (Inherited from XmlNode) |
| NodeType | When overridden in a derived class, gets the type of the current node. (Inherited from XmlNode) |
| OuterXml | Gets the markup representing this node and all its child nodes. (Inherited from XmlNode) |
| OwnerDocument | Gets the XmlDocument to which this node belongs. (Inherited from XmlNode) |
| ParentNode | Gets the parent of this node (for nodes that can have parents). (Inherited from XmlNode) |
| PreserveWhitespace | Gets or sets a value indicating whether to preserve white space. |
| PreviousSibling | Gets the node immediately preceding this node. (Inherited from XmlNode) |
| Value | Gets or sets the value of the node. (Inherited from XmlNode) |
Inheritance Hierarchy
Object
Class Information
| Namespace | System.Xml |
|---|
| Flash Library | System.XML.scl |
|---|
| Flash Library Version | 2.0.0.1690 |
|---|
| Silverlight Library | System.XML.dll |
|---|