Skip to main content

UnboundSiteMapProviderBase.AddSiteMapNode(SiteMapNode, SiteMapNode) Method

Adds a SiteMapNode object to the collections that are maintained by the current provider.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v22.1.dll

NuGet Package: DevExpress.Web


public void AddSiteMapNode(
    SiteMapNode node,
    SiteMapNode parentNode


Name Type Description
node SiteMapNode

The SiteMapNode to add to the provider.

parentNode SiteMapNode

The SiteMapNode under which to add the specified node.


Use the AddSiteMapNode method to add an existing site map node specified by the node parameter to the collections of nodes maintained by the current site map provider under a particular node specified by the parentNode parameter. The node parameter is added to an internal collection, and a parent/child relationship is created between it and parentNode.

See Also