Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns the PortalSiteMapNode for the given URL.
Namespace: Microsoft.SharePoint.Publishing.Navigation
Assembly: Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
Syntax
'Declaration
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public Function FindSiteMapNode ( _
rawUrl As String, _
currentContext As SPWeb _
) As SiteMapNode
'Usage
Dim instance As PortalSiteMapProvider
Dim rawUrl As String
Dim currentContext As SPWeb
Dim returnValue As SiteMapNode
returnValue = instance.FindSiteMapNode(rawUrl, _
currentContext)
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public SiteMapNode FindSiteMapNode(
string rawUrl,
SPWeb currentContext
)
Parameters
rawUrl
Type: System.StringA string that contains the URL of the requested node.
currentContext
Type: Microsoft.SharePoint.SPWebAn SPWeb object that represents the context of the current user for rights checking.
Return Value
Type: System.Web.SiteMapNode