SPXmlContentMapProvider class

Provides methods and properties for implementing an XML-based site map provider for a Microsoft SharePoint Foundation 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

'Declaration
<AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
Public Class SPXmlContentMapProvider _
    Inherits XmlSiteMapProvider
'Usage
Dim instance As SPXmlContentMapProvider
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, 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

Other resources

Site Navigation in SharePoint Foundation