SPSiteMapProvider.FindSiteMapNodeFromKey Method
Returns a SiteMapNode object based on a specified 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 SPSiteMapProvider
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 that is used to create a SiteMapNode instance.
Return Value
Type: System.Web.SiteMapNode
Returns a SiteMapNode instance that represents the Web page identified by key.