UnboundSiteMapProviderBase.AddSiteMapNode(SiteMapNode, SiteMapNode) Method
In This Article
Adds a SiteMapNode object to the collections that are maintained by the current provider.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
public void AddSiteMapNode(
SiteMapNode node,
SiteMapNode parentNode
)
#Parameters
Name | Type | Description |
---|---|---|
node | Site |
The Site |
parent |
Site |
The Site |
#Remarks
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