PortalSiteMapProvider.GetCachedList method

Gets a PortalListSiteMapNode object that represents a specified SPList object.

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

public PortalListSiteMapNode GetCachedList(
	PortalWebSiteMapNode webNode,
	string listName,
	SPWeb contextWeb
)

Parameters

webNode
Type: Microsoft.SharePoint.Publishing.Navigation.PortalWebSiteMapNode

PortalWebSiteMapNode object that represents the Web site that contains the list of interest.

listName
Type: System.String

The name of the list of interest.

contextWeb
Type: Microsoft.SharePoint.SPWeb

The Web site that exists within the context of the current user. For example, this parameter can be set to SPContext.Current.Web.

The contextWeb parameter determines the correct items to return.

Show: