AdvantageCMS.Core.Common.BaseClasses Namespace
Build With Advantage

HierarchyData<(Of <(<'T>)>)>..::..GetParent Method

Returns the parent of this node, wrapped in a new [HierarchyData{T}] adapter. Called by data-bound controls for upward navigation (e.g., breadcrumb rendering).

Namespace:  AdvantageCSP.HierarchicalModelDataSource
Assembly:  AdvantageCMS.Core (in AdvantageCMS.Core.dll)

Syntax


public IHierarchyData GetParent()

Return Value

A [HierarchyData{T}] wrapping the parent model. Callers should check [IModelWithHierarchy{T}.Parent] for null on root nodes to avoid wrapping a null reference.