UnboundSiteMapProviderBase.GetParentNode(SiteMapNode) Method
In This Article
Retrieves the parent node of a specific site map node object.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
public override SiteMapNode GetParentNode(
SiteMapNode childNode
)
#Parameters
Name | Type | Description |
---|---|---|
child |
Site |
The Site |
#Returns
Type | Description |
---|---|
Site |
A Site |
#Remarks
The GetParentNode method can be used to obtain a SiteMapNode object that represents the parent of the specified site map node. If security trimming is enabled, the site map node is returned only if the user is permitted to see it.
See Also