Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

SiteMapProviderAdapter.FindSiteMapNodeFromKey Method

Retrieves a SiteMapNode object based on a specified key.

[Visual Basic]
Public Overrides Sub FindSiteMapNodeFromKey( _
   ByVal key As String _
) _
    Implements ISiteMapProvider.FindSiteMapNodeFromKey
[C#]
public override SiteMapNode FindSiteMapNodeFromKey(
   string key
);

Parameters

key
A lookup key with which a SiteMapNode is created.

Return Value

A SiteMapNode that represents the page identified by key; otherwise, null, if no corresponding SiteMapNode is found or if security trimming is enabled and the SiteMapNode cannot be returned for the current user. The default is null.

Implements

ISiteMapProvider.FindSiteMapNodeFromKey

See Also

SiteMapProviderAdapter Class | Spring.Web.Providers Namespace