IHierarchyNodeProviderExtensionsGetParentNodeTEntity Method |
Gets the parent node.
Namespace:
Aloe.EnterpriseOne.Model.Core.Hierarchies.Extensions
Assembly:
Aloe.EnterpriseOne.Model (in Aloe.EnterpriseOne.Model.dll) Version: 20.1.3.5
Syntaxpublic static TEntity GetParentNode<TEntity>(
this IHierarchyNodeProvider<TEntity> node
)
where TEntity : EnterpriseOneEntityObject
<ExtensionAttribute>
Public Shared Function GetParentNode(Of TEntity As EnterpriseOneEntityObject) (
node As IHierarchyNodeProvider(Of TEntity)
) As TEntity
public:
[ExtensionAttribute]
generic<typename TEntity>
where TEntity : EnterpriseOneEntityObject
static TEntity GetParentNode(
IHierarchyNodeProvider<TEntity>^ node
)
[<ExtensionAttribute>]
static member GetParentNode :
node : IHierarchyNodeProvider<'TEntity> -> 'TEntity when 'TEntity : EnterpriseOneEntityObject
Parameters
- node
- Type: Aloe.EnterpriseOne.Model.Core.HierarchiesIHierarchyNodeProviderTEntity
The node.
Type Parameters
- TEntity
- The type of the entity.
Return Value
Type:
TEntityThe parent node.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IHierarchyNodeProviderTEntity. 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