Skip to main content

Node<T> Methods

A base class that defines a node in a tree-like structure of objects.
Name Description
AbandonChildren() Removes all child nodes from the node.
AddChildren(Node<T>[]) Adds child nodes to the node.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current Node<T> instance.
ForEach(Action<Node<T>>) Performs the specified action on the node’s each child node.
GetHashCode() Serves as the default hash function.
GetParents() Returns a collection of the node’s parent nodes.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also