ProxySiteMapNode class

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