CompositeNodeT Class

The base generic class for nodes that can contain other nodes.
Inheritance Hierarchy
SystemObject
  Aspose.NoteNode
    Aspose.NoteCompositeNodeBase
      Aspose.NoteCompositeNodeT
        More...

Namespace:  Aspose.Note
Assembly:  Aspose.Note (in Aspose.Note.dll) Version: 20.3
Syntax
public abstract class CompositeNode<T> : CompositeNodeBase, 
	IEnumerable<T>, IEnumerable
where T : INode

Type Parameters

T
The type of elements in the composite node.

The CompositeNodeT type exposes the following members.

Constructors
  NameDescription
Protected methodCompositeNodeT(NodeType)
Initializes a new instance of the CompositeNodeT class.
Protected methodCompositeNodeT(Document, NodeType)
Initializes a new instance of the CompositeNodeT class. The class protected constructor.
Properties
  NameDescription
Public propertyChildren
Gets all child nodes of this node as an enumerable collection.
Public propertyDocument
Gets the document of the node.
(Inherited from Node.)
Public propertyFirstChild
Gets the first child node of this node.
Public propertyIsComposite
Checks whether the node is composite. If true then the node can have child nodes.
(Overrides NodeIsComposite.)
Public propertyLastChild
Gets the last child node of this node.
Public propertyNextSibling
Gets the next node at the same node tree level.
(Inherited from Node.)
Public propertyNodeType
Gets the node type.
(Inherited from Node.)
Public propertyParentNode
Gets the parent node.
(Inherited from Node.)
Public propertyPreviousSibling
Gets the previous node at the same node tree level.
(Inherited from Node.)
Methods
  NameDescription
Public methodAccept
Accepts the visitor of the node.
(Overrides NodeAccept(DocumentVisitor).)
Public methodAppendChildFirst
Adds the node to the front of the list of child nodes for this node.
Public methodAppendChildLast
Adds the node to the end of the list of child nodes for this node.
Protected methodCheckDocument
Checks Document field of a new node
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetChildNodes(NodeType) Obsolete.
Get all child nodes by node type.
(Overrides CompositeNodeBaseGetChildNodes(NodeType).)
Public methodGetChildNodesT1
Get all child nodes by the node type.
(Overrides CompositeNodeBaseGetChildNodesT1.)
Public methodGetEnumerator
Returns an enumerator that iterates through child nodes of the CompositeNodeT.
Public methodGetHashCode (Inherited from Object.)
Public methodGetText Obsolete.
Get all text from the node.
Public methodGetType (Inherited from Object.)
Public methodInsertChild
Inserts the node to the specified position in the list of child nodes for this node.
Public methodInsertChildrenRange(Int32, IEnumerableT)
Inserts the node's sequence starting from specified position in the list of child nodes for this node.
Public methodInsertChildrenRange(Int32, T)
Inserts the node's sequence starting from specified position in the list of child nodes for this node.
Protected methodMemberwiseClone (Inherited from Object.)
Public methodRemoveChild
Removes the child node.
Public methodToString (Inherited from Object.)
See Also
Inheritance Hierarchy
SystemObject
  Aspose.NoteNode
    Aspose.NoteCompositeNodeBase
      Aspose.NoteCompositeNodeT
        Aspose.NoteDocument
        Aspose.NoteOutline
        Aspose.NoteOutlineElement
        Aspose.NoteOutlineGroup
        Aspose.NotePage
        Aspose.NoteTable
        Aspose.NoteTableCell
        Aspose.NoteTableRow
        Aspose.NoteTitle