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
key
Type: System.StringA lookup key corresponding to a specific SiteMapNode object.
Return Value
Type: System.Web.SiteMapNode
Returns a SiteMapNode object that represents the Web page identified by key.
See Also
Reference
Microsoft.SharePoint.Navigation Namespace
SiteMapProviderFindSiteMapNodeFromKey()