Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ISiteMapProvider.FindSiteMapNodeFromKey Method

Retrieves a SiteMapNode object based on a specified key.

[Visual Basic]
Public Sub FindSiteMapNodeFromKey( _
   ByVal key As String _
)
[C#]
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.

See Also

ISiteMapProvider Interface | Spring.Web.Providers Namespace