Share via


PortalHierarchyData Class

IHierachyData implementation used by PortalSiteMapDataSource class.

Inheritance Hierarchy

System.Object
  Microsoft.SharePoint.Publishing.Navigation.PortalHierarchyData

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

Syntax

'Declaration
<AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public Class PortalHierarchyData _
    Implements IHierarchyData, INavigateUIData
'Usage
Dim instance As PortalHierarchyData
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public class PortalHierarchyData : IHierarchyData, 
    INavigateUIData

Remarks

This is a thin wrapper around a PortalSiteMapNode. Although PortalSiteMapNodes are shared between requests, unique PortalHierarchyData instances are created for each request. The IHierarchyData and INavigateUIData interfaces have been explicitly implemented, so you must cast instances of this class to the appropriate interface before accessing methods that are defined on that interface.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

PortalHierarchyData Members

Microsoft.SharePoint.Publishing.Navigation Namespace

PortalSiteMapDataSource