Click or drag to resize

IHierarchyNodeExtensionsGetParentNodes Method

Gets the parent nodes of a node, up to the root. The nodes are ordered, starting from the direct parent to the root.

Namespace:  Aloe.EnterpriseOne.Model.Core.Hierarchies
Assembly:  Aloe.EnterpriseOne.Model (in Aloe.EnterpriseOne.Model.dll) Version: 20.1.3.5
Syntax
public static IEnumerable<IHierarchyNode> GetParentNodes(
	this IHierarchyNode node
)

Parameters

node
Type: Aloe.EnterpriseOne.Model.Core.HierarchiesIHierarchyNode

Field Value

Type: IEnumerableIHierarchyNode
The parent nodes.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IHierarchyNode. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also