PortalHierarchyData.IHierarchyData.GetParent method

Retrieves the hierarchical parent of the current item.

Namespace:  Microsoft.SharePoint.Publishing.Navigation
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Private Function GetParent As IHierarchyData
    Implements IHierarchyData.GetParent
'Usage
Dim instance As PortalHierarchyData
Dim returnValue As IHierarchyData

returnValue = CType(instance, IHierarchyData).GetParent()
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
IHierarchyDataIHierarchyData.GetParent()

Return value

Type: System.Web.UI.IHierarchyData

Implements

IHierarchyData.GetParent()

See also

Reference

PortalHierarchyData class

PortalHierarchyData members

Microsoft.SharePoint.Publishing.Navigation namespace