Share via


SPContentMapProvider.FindSiteMapNodeFromKey Method

Returns 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 SPContentMapProvider
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 instance that represents the Web page identified by key.

See Also

Reference

SPContentMapProvider Class

SPContentMapProvider Members

Microsoft.SharePoint.Navigation Namespace

System.Web.SiteMapNode