Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

PortalHierarchyData Class

Represents the IHierachyData implementation used by PortalSiteMapDataSource class.


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

[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public class PortalHierarchyData : IHierarchyData, 

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

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