In This Article

ILogicalTreeNode Interface

Provides the base requirements for a node that needs to be part of a logical tree.

public interface ILogicalTreeNode

Properties

Children

The collection of child objects.

IList<ILogicalTreeNode>? Children { get; }

Property Value

IList<ILogicalTreeNode>

Parent

The object that is parent to this object.

ILogicalTreeNode? Parent { get; set; }

Property Value

ILogicalTreeNode

Remarks

The setter of this property is reserved for internal use only.

Methods

IsAncestorOf(ILogicalTreeNode?)

Indicates whether the object is an ancestor to the specified object.

bool IsAncestorOf(ILogicalTreeNode? value)
Parameter Type Description
value ILogicalTreeNode

The ILogicalTreeNode to compare.

Returns

bool:

true if the object is an ancestor of the specified object; otherwise, false.

Extension Methods