Partilhar via


SPNavigationSiteMapNode Class

Represents nodes that are backed by an SPNavigationNode class.

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

Remarks

Headings and links are represented by this type. This type can be extended to represent custom node types that are based on SPNavigationNode.

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

SPNavigationSiteMapNode Members

Microsoft.SharePoint.Publishing.Navigation Namespace