다음을 통해 공유


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)
Available in Sandboxed Solutions: No

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

Website Navigation