Partager via


SPXmlContentMapProvider Class

Provides methods and properties for implementing an XML-based site map provider for a Windows SharePoint Server site.

Inheritance Hierarchy

System.Object
  System.Configuration.Provider.ProviderBase
    System.Web.SiteMapProvider
      System.Web.StaticSiteMapProvider
        System.Web.XmlSiteMapProvider
          Microsoft.SharePoint.Navigation.SPXmlContentMapProvider

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

Syntax

<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
Public Class SPXmlContentMapProvider _
    Inherits XmlSiteMapProvider

Dim instance As SPXmlContentMapProvider
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public class SPXmlContentMapProvider : XmlSiteMapProvider

Remarks

This class provides the SiteMapNode objects that are used for site navigation, where such navigation is dependent upon lists, folders, items, and other content items.

Notes to Implementers

When an implementation inherits from the SiteMapProvider class, the following members must be overridden: GetRootNodeCore, FindSiteMapNode, GetChildNodes, and GetParentNode.

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

SPXmlContentMapProvider Members

Microsoft.SharePoint.Navigation Namespace

SiteMap

SPContentMapProvider

XmlSiteMapProvider