NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

XmlDocument Members

Public:

Constructor

XmlDocument Constructor Initializes a new instance of the XmlDocument class.

Properties

Attributes (inherited from XmlNode) Gets an XmlAttributeCollection containing the attributes of this node.
ChildNodes (inherited from XmlNode) Gets all children of this node.
DocumentElement Gets the root XmlElement for the document.
DocumentType Gets the node for the DOCTYPE declaration.
FirstChild (inherited from XmlNode) Gets the first child of this node.
HasChildNodes (inherited from XmlNode) Gets a value indicating whether this node has any child nodes.
Implementation Gets the XmlImplementation object for this document.
InnerText (inherited from XmlNode) Gets or sets the concatenated values of the node and all its children.
InnerXml (inherited from XmlNode) Gets or sets the markup representing just the children of this node.
IsDocumentReadOnly Gets or sets a value indicating whether the document is read-only.
IsReadOnly Gets a value indicating whether the node is read-only.
Item (inherited from XmlNode) Overloaded. [To be supplied.]

In C#, this member is the indexer for the XmlDocument class.

LastChild (inherited from XmlNode) Gets the last child of this node.
LocalName Gets the name of the current node without the namespace prefix.
Name Gets the name of the node.
NamespaceURI (inherited from XmlNode) Gets the namespace URI of this node.
NameTable Gets the XmlNameTable associated with this implementation.
NextSibling (inherited from XmlNode) Gets the node immediately following this node.
NodeType Gets the type of the current node.
OuterXml (inherited from XmlNode) Gets the markup representing this node and all its children.
OwnerDocument Gets the XmlDocument that contains this node.
ParentNode (inherited from XmlNode) Gets the parent of this node (for nodes that can have parents).
Prefix (inherited from XmlNode) Gets or sets the namespace prefix of this node.
PreserveWhiteSpace Gets or sets a value indicating whether to preserve whitespace.
PreviousSibling (inherited from XmlNode) Gets the node immediately preceding this node.
Value (inherited from XmlNode) Gets or sets the value of the node.

Methods

AppendChild (inherited from XmlNode) Adds the specified node to the end of the list of children of this node.
Clone (inherited from XmlNode) Creates a duplicate of this node.
CloneNode Creates a duplicate of this node.
CreateAttribute Overloaded. Creates an XmlAttribute with the specified name.
CreateCDataSection Creates a XmlCDataSection containing the specified data.
CreateComment Creates an XmlComment containing the specified data.
CreateDocumentFragment Creates an XmlDocumentFragment.
CreateElement Overloaded. Creates an XmlElement.
CreateEntityReference Creates an XmlEntityReference with the specified name.
CreateNode Overloaded. Creates an XmlNode.
CreateProcessingInstruction Creates a XmlProcessingInstruction with the specified name and data strings.
CreateTextNode Creates an XmlText with the specified text.
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).
GetElementById Returns the XmlElement with the specified ID.
GetElementsByTagName Overloaded. Returns an XmlNodeList containing a list of all descendant elements that match the specified name.
GetEnumerator (inherited from XmlNode) 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 (inherited from XmlNode) 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 (inherited from XmlNode) 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.
ImportNode Imports a node from another document to this document.
InsertAfter (inherited from XmlNode) Inserts the specified node immediately after the specified reference node.
InsertBefore (inherited from XmlNode) Inserts the specified node immediately before the specified reference node.
Load Overloaded. Loads the specified XML data.

By default, the Load method preserves SignificantWhitespace.

LoadXml Loads the XML document from the specified string.
Normalize (inherited from XmlNode) 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 (inherited from XmlNode) Adds the specified node to the beginning of the list of children of this node.
RemoveAll (inherited from XmlNode) Removes all the children and/or attributes of the current node.
RemoveChild (inherited from XmlNode) Removes specified child node.
ReplaceChild (inherited from XmlNode) Replaces the child node oldChild with newChild node.
Save Overloaded. Saves the XML document to the specified location.
Supports (inherited from XmlNode) 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 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

XmlDocument Class | System.NewXml Namespace