Share via


ProxySiteMapNode Class

Class derived from the PortalSiteMapNode class. Used to wrap nodes of type CachedObjectSiteMapNode.

Inheritance Hierarchy

System.Object
  System.Web.SiteMapNode
    Microsoft.SharePoint.Publishing.Navigation.PortalSiteMapNode
      Microsoft.SharePoint.Publishing.Navigation.SPNavigationSiteMapNode
        Microsoft.SharePoint.Publishing.Navigation.ProxySiteMapNode

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 ProxySiteMapNode _
    Inherits SPNavigationSiteMapNode
'Usage
Dim instance As ProxySiteMapNode
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public class ProxySiteMapNode : SPNavigationSiteMapNode

Remarks

Nodes of type CachedObjectSiteMapNode must be wrapped by a ProxySiteMapNode object for security trimming and to work effectively.

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

ProxySiteMapNode Members

Microsoft.SharePoint.Publishing.Navigation Namespace