Share via


SPNavigationProvider.FindSiteMapNodeFromKey Method

Retrieves a SiteMapNode object based on a specified lookup key.

Namespace:  Microsoft.SharePoint.Navigation
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Overrides Function FindSiteMapNodeFromKey ( _
    key As String _
) As SiteMapNode
'Usage
Dim instance As SPNavigationProvider
Dim key As String
Dim returnValue As SiteMapNode

returnValue = instance.FindSiteMapNodeFromKey(key)
public override SiteMapNode FindSiteMapNodeFromKey(
    string key
)

Parameters

Return Value

Type: System.Web.SiteMapNode
Returns a SiteMapNode object that represents the Web page identified by key.

See Also

Reference

SPNavigationProvider Class

SPNavigationProvider Members

Microsoft.SharePoint.Navigation Namespace

System.Web.SiteMapNode

SiteMapProviderFindSiteMapNodeFromKey()