Node Methods

The Node type exposes the following members.

Methods
  NameDescription
Public methodCode exampleAccept
Accepts a visitor.
Public methodCode exampleClone
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodCode exampleGetAncestor(Type)
Gets the first ancestor of the specified object type.
Public methodCode exampleGetAncestor(NodeType)
Gets the first ancestor of the specified NodeType.
Public methodGetHashCode (Inherited from Object.)
Public methodCode exampleGetText
Gets the text of this node and of all its children.
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodCode exampleNextPreOrder
Gets next node according to the pre-order tree traversal algorithm.
Public methodStatic memberCode exampleNodeTypeToString
A utility method that converts a node type enum value into a user friendly string.
Public methodCode examplePreviousPreOrder
Gets the previous node according to the pre-order tree traversal algorithm.
Public methodCode exampleRemove
Removes itself from the parent.
Public methodToString (Inherited from Object.)
Public methodCode exampleToString(SaveFormat)
Exports the content of the node into a string in the specified format.
Public methodCode exampleToString(SaveOptions)
Exports the content of the node into a string using the specified save options.
Protected methodStatic memberVisitorActionToBool
See Also