Export (0) Print
Expand All

XmlNode Members

XmlNode overview

Public Properties

public propertyAttributes

Supported by the .NET Compact Framework.

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

Supported by the .NET Compact Framework.

Gets the base URI of the current node.
public propertyChildNodes

Supported by the .NET Compact Framework.

Gets all the child nodes of the node.
public propertyFirstChild

Supported by the .NET Compact Framework.

Gets the first child of the node.
public propertyHasChildNodes

Supported by the .NET Compact Framework.

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

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.

Gets or sets the markup representing only the child nodes of this node.
public propertyIsReadOnly

Supported by the .NET Compact Framework.

Gets a value indicating whether the node is read-only.
public propertyItem Overloaded. Gets the specified child element.

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

public propertyLastChild

Supported by the .NET Compact Framework.

Gets the last child of the node.
public propertyLocalName

Supported by the .NET Compact Framework.

When overridden in a derived class, gets the local name of the node.
public propertyName

Supported by the .NET Compact Framework.

When overridden in a derived class, gets the qualified name of the node.
public propertyNamespaceURI

Supported by the .NET Compact Framework.

Gets the namespace URI of this node.
public propertyNextSibling

Supported by the .NET Compact Framework.

Gets the node immediately following this node.
public propertyNodeType

Supported by the .NET Compact Framework.

When overridden in a derived class, gets the type of the current node.
public propertyOuterXml

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.

Gets the XmlDocument to which this node belongs.
public propertyParentNode

Supported by the .NET Compact Framework.

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

Supported by the .NET Compact Framework.

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

Supported by the .NET Compact Framework.

Gets the node immediately preceding this node.
public propertyValue

Supported by the .NET Compact Framework.

Gets or sets the value of the node.

Public Methods

public methodAppendChild

Supported by the .NET Compact Framework.

Adds the specified node to the end of the list of child nodes, of this node.
public methodClone

Supported by the .NET Compact Framework.

Creates a duplicate of this node.
public methodCloneNode

Supported by the .NET Compact Framework.

When overridden in a derived class, creates a duplicate of the node.
public methodCreateNavigator Creates an XPathNavigator for navigating this object.
public methodEquals (inherited from Object)

Supported by the .NET Compact Framework.

Overloaded. Determines whether two Object instances are equal.
public methodGetEnumerator

Supported by the .NET Compact Framework.

Provides support for the for each style iteration over the nodes in the XmlNode.
public methodGetHashCode (inherited from Object)

Supported by the .NET Compact Framework.

Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
public methodGetNamespaceOfPrefix

Supported by the .NET Compact Framework.

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.
public methodGetPrefixOfNamespace

Supported by the .NET Compact Framework.

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.
public methodGetType (inherited from Object)

Supported by the .NET Compact Framework.

Gets the Type of the current instance.
public methodInsertAfter

Supported by the .NET Compact Framework.

Inserts the specified node immediately after the specified reference node.
public methodInsertBefore

Supported by the .NET Compact Framework.

Inserts the specified node immediately before the specified reference node.
public methodNormalize

Supported by the .NET Compact Framework.

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.
public methodPrependChild

Supported by the .NET Compact Framework.

Adds the specified node to the beginning of the list of child nodes for this node.
public methodRemoveAll

Supported by the .NET Compact Framework.

Removes all the child nodes and/or attributes of the current node.
public methodRemoveChild

Supported by the .NET Compact Framework.

Removes specified child node.
public methodReplaceChild

Supported by the .NET Compact Framework.

Replaces the child node oldChild with newChild node.
public methodSelectNodes Overloaded. Selects a list of nodes matching the XPath expression.
public methodSelectSingleNode Overloaded. Selects the first XmlNode that matches the XPath expression.
public methodSupports

Supported by the .NET Compact Framework.

Test if the DOM implementation implements a specific feature.
public methodToString (inherited from Object)

Supported by the .NET Compact Framework.

Returns a String that represents the current Object.
public methodWriteContentTo

Supported by the .NET Compact Framework.

When overridden in a derived class, saves all the child nodes of the node to the specified XmlWriter.
public methodWriteTo

Supported by the .NET Compact Framework.

When overridden in a derived class, saves the current node to the specified XmlWriter.

Protected Methods

protected methodFinalize (inherited from Object)

Supported by the .NET Compact Framework.

Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodMemberwiseClone (inherited from Object)

Supported by the .NET Compact Framework.

Creates a shallow copy of the current Object.

See Also

XmlNode Class | System.Xml Namespace

Show:
© 2014 Microsoft