Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

XmlDocument Properties

The properties of the XmlDocument class are listed here. For a complete list of XmlDocument class members, see the XmlDocument Members topic.

Public Properties

public propertyAttributes (inherited from XmlNode)

Supported by the .NET Compact Framework.

Gets an XmlAttributeCollection containing the attributes of this node.
public propertyBaseURI

Supported by the .NET Compact Framework.

Overridden. Gets the base URI of the current node.
public propertyChildNodes (inherited from XmlNode)

Supported by the .NET Compact Framework.

Gets all the child nodes of the node.
public propertyDocumentElement

Supported by the .NET Compact Framework.

Gets the root XmlElement for the document.
public propertyDocumentType Gets the node containing the DOCTYPE declaration.
public propertyFirstChild (inherited from XmlNode)

Supported by the .NET Compact Framework.

Gets the first child of the node.
public propertyHasChildNodes (inherited from XmlNode)

Supported by the .NET Compact Framework.

Gets a value indicating whether this node has any child nodes.
public propertyImplementation

Supported by the .NET Compact Framework.

Gets the XmlImplementation object for the current document.
public propertyInnerText (inherited from XmlNode)

Supported by the .NET Compact Framework.

Gets or sets the concatenated values of the node and all its child nodes.
public propertyInnerXml

Supported by the .NET Compact Framework.

Overridden. Gets or sets the markup representing the children of the current node.
public propertyIsReadOnly

Supported by the .NET Compact Framework.

Overridden. Gets a value indicating whether the current node is read-only.
public propertyItem (inherited from XmlNode) Overloaded. Gets the specified child element.

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

public propertyLastChild (inherited from XmlNode)

Supported by the .NET Compact Framework.

Gets the last child of the node.
public propertyLocalName

Supported by the .NET Compact Framework.

Overridden. Gets the local name of the node.
public propertyName

Supported by the .NET Compact Framework.

Overridden. Gets the qualified name of the node.
public propertyNamespaceURI (inherited from XmlNode)

Supported by the .NET Compact Framework.

Gets the namespace URI of this node.
public propertyNameTable

Supported by the .NET Compact Framework.

Gets the XmlNameTable associated with this implementation.
public propertyNextSibling (inherited from XmlNode)

Supported by the .NET Compact Framework.

Gets the node immediately following this node.
public propertyNodeType

Supported by the .NET Compact Framework.

Overridden. Gets the type of the current node.
public propertyOuterXml (inherited from XmlNode)

Supported by the .NET Compact Framework.

Gets the markup representing this node and all its child nodes.
public propertyOwnerDocument

Supported by the .NET Compact Framework.

Overridden. Gets the XmlDocument to which the current node belongs.
public propertyParentNode (inherited from XmlNode)

Supported by the .NET Compact Framework.

Gets the parent of this node (for nodes that can have parents).
public propertyPrefix (inherited from XmlNode)

Supported by the .NET Compact Framework.

Gets or sets the namespace prefix of this node.
public propertyPreserveWhitespace

Supported by the .NET Compact Framework.

Gets or sets a value indicating whether to preserve white space.
public propertyPreviousSibling (inherited from XmlNode)

Supported by the .NET Compact Framework.

Gets the node immediately preceding this node.
public propertyValue (inherited from XmlNode)

Supported by the .NET Compact Framework.

Gets or sets the value of the node.
public propertyXmlResolver

Supported by the .NET Compact Framework.

Sets the XmlResolver to use for resolving external resources.

See Also

XmlDocument Class | System.Xml Namespace

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.