UnboundSiteMapProviderBase.FindSiteMapNode(String) Method
Returns a site map node object that represents the page at the specified URL.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
Declaration
Parameters
Name | Type | Description |
---|---|---|
rawUrl | String | An URL that identifies the page for which to retrieve a SiteMapNode object. |
Returns
Type | Description |
---|---|
SiteMapNode | A SiteMapNode that represents the page identified by the rawUrl parameter’s value. |
Remarks
The FindSiteMapNode method can be used to obtain a site map node specified by the URL passed via the rawUrl parameter. The UnboundSiteMapProviderBase object overrides the FindSiteMapNode method to ensure that any linked child providers are searched for the node if the implementation of the base class does not return a node for the specified URL.
The rawUrl parameter should be either an absolute virtual path or an application-relative path, depending on the way it is specified in the XML site map data file.
The UnboundSiteMapProviderBase class uses the URL of a site map node object as a key in various collections that the class maintains. Therefore, these URLs must be unique within the scope of the site map. If the URL is not found within the immediate site map data that is managed by the UnboundSiteMapProviderBase, it calls the FindSiteMapNode on each child provider that is linked to it through the provider attribute of its site map nodes.