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.v20.2.dll


public void AddSiteMapNode(
    SiteMapNode node,
    SiteMapNode parentNode
Public Sub AddSiteMapNode(
    node As SiteMapNode,
    parentNode As SiteMapNode


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