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
Syntaxpublic static IEnumerable<IHierarchyNode> GetParentNodes(
this IHierarchyNode node
)
<ExtensionAttribute>
Public Shared Function GetParentNodes (
node As IHierarchyNode
) As IEnumerable(Of IHierarchyNode)
public:
[ExtensionAttribute]
static IEnumerable<IHierarchyNode^>^ GetParentNodes(
IHierarchyNode^ node
)
[<ExtensionAttribute>]
static member GetParentNodes :
node : IHierarchyNode -> IEnumerable<IHierarchyNode>
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