CompositeNode Methods

The CompositeNode type exposes the following members.

Methods
  NameDescription
Public methodCode exampleAccept
Accepts a visitor.
(Inherited from Node.)
Protected methodAcceptChildren
Protected methodAcceptCore
Public methodCode exampleAppendChild
Adds the specified node to the end of the list of child nodes for this node.
Public methodCode exampleClone (Inherited from Node.)
Protected methodCoreRemoveSelfOnly
Public methodCode exampleCreateNavigator
Reserved for system use. IXPathNavigable.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetAncestor(Type)
Gets the first ancestor of the specified object type.
(Inherited from Node.)
Public methodCode exampleGetAncestor(NodeType)
Gets the first ancestor of the specified NodeType.
(Inherited from Node.)
Public methodCode exampleGetChild
Returns an Nth child node that matches the specified type.
Public methodCode exampleGetChildNodes
Returns a live collection of child nodes that match the specified type.
Public methodCode exampleGetEnumerator
Provides support for the for each style iteration over the child nodes of this node.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodCode exampleGetText
Gets the text of this node and of all its children.
(Overrides NodeGetText.)
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Public methodCode exampleIndexOf
Returns the index of the specified child node in the child node array.
Public methodCode exampleInsertAfter
Inserts the specified node immediately after the specified reference node.
Public methodCode exampleInsertBefore
Inserts the specified node immediately before the specified reference node.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodCode exampleNextPreOrder
Gets next node according to the pre-order tree traversal algorithm.
(Inherited from Node.)
Public methodCode examplePrependChild
Adds the specified node to the beginning of the list of child nodes for this node.
Public methodPreviousPreOrder
Gets the previous node according to the pre-order tree traversal algorithm.
(Inherited from Node.)
Public methodCode exampleRemove
Removes itself from the parent.
(Inherited from Node.)
Public methodCode exampleRemoveAllChildren
Removes all the child nodes of the current node.
Public methodCode exampleRemoveChild
Removes the specified child node.
Public methodCode exampleRemoveSmartTags
Removes all SmartTag descendant nodes of the current node.
Public methodCode exampleSelectNodes
Selects a list of nodes matching the XPath expression.
Public methodCode exampleSelectSingleNode
Selects the first Node that matches the XPath expression.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodCode exampleToString(SaveFormat)
Exports the content of the node into a string in the specified format.
(Inherited from Node.)
Public methodCode exampleToString(SaveOptions)
Exports the content of the node into a string using the specified save options.
(Inherited from Node.)
See Also