Click or drag to resize

IHierarchyExtensionsGetRootNodes Method

Gets the root nodes of the hierarchy.

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> GetRootNodes(
	this IHierarchy hierarchy,
	ObjectTransaction transaction
)

Parameters

hierarchy
Type: Aloe.EnterpriseOne.Model.Core.HierarchiesIHierarchy
The hierarchy.
transaction
Type: Aloe.SystemFrameworks.DomainObjectTransaction
The transaction.

Return Value

Type: IEnumerableIHierarchyNode
The root nodes of the hierarchy

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IHierarchy. 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