SPNavigationProvider.FindSiteMapNodeFromKey method
Retrieves a SiteMapNode object based on a specified lookup key.
Namespace: Microsoft.SharePoint.Navigation
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
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()