Aspose.Note for .Net
CompositeNodeT Class |
The base generic class for nodes that can contain other nodes.

Namespace: Aspose.Note
Assembly: Aspose.Note (in Aspose.Note.dll) Version: 18.1

public abstract class CompositeNode<T> : CompositeNodeBase, IEnumerable<T>, IEnumerable where T : INode
Public MustInherit Class CompositeNode(Of T As INode) Inherits CompositeNodeBase Implements IEnumerable(Of T), IEnumerable
generic<typename T> where T : INode public ref class CompositeNode abstract : public CompositeNodeBase, IEnumerable<T>, IEnumerable
[<AbstractClassAttribute>] type CompositeNode<'T when 'T : INode> = class inherit CompositeNodeBase interface IEnumerable<'T> interface IEnumerable end
Type Parameters
- T
- The type of elements in the composite node.
The CompositeNodeT type exposes the following members.

Name | Description | |
---|---|---|
![]() | CompositeNodeT(NodeType) |
Initializes a new instance of the CompositeNodeT class.
|
![]() | CompositeNodeT(Document, NodeType) |
Initializes a new instance of the CompositeNodeT class.
The class protected constructor.
|

Name | Description | |
---|---|---|
![]() | Children |
Gets all child nodes of this node as an enumerable collection.
|
![]() | Document |
Gets the document of the node.
(Inherited from Node.) |
![]() | FirstChild |
Gets the first child node of this node.
|
![]() | IsComposite |
Checks whether the node is composite. If true then the node can have child nodes.
(Overrides NodeIsComposite.) |
![]() | LastChild |
Gets the last child node of this node.
|
![]() | NextSibling |
Gets the next node at the same node tree level.
(Inherited from Node.) |
![]() | NodeType |
Gets the node type.
(Inherited from Node.) |
![]() | ParentNode |
Gets the parent node.
(Inherited from Node.) |
![]() | PreviousSibling |
Gets the previous node at the same node tree level.
(Inherited from Node.) |

Name | Description | |
---|---|---|
![]() | Accept |
Accepts the visitor of the node.
(Overrides NodeAccept(DocumentVisitor).) |
![]() | AppendChild |
Adds the node to the end of the list of child nodes for this node.
|
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetChildNodes(NodeType) | Obsolete.
Get all child nodes by node type.
(Overrides CompositeNodeBaseGetChildNodes(NodeType).) |
![]() | GetChildNodesT1 |
Get all child nodes by the node type.
(Overrides CompositeNodeBaseGetChildNodesT1.) |
![]() | GetEnumerator |
Returns an enumerator that iterates through child nodes of the CompositeNodeT.
|
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetText |
Get all text from the node.
|
![]() | GetType | Gets the type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | RemoveChild |
Removes the child node.
|
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |

Reference
