IsDescendantOf method
Collapse the table of content
Expand the table of content

PortalSiteMapNode.IsDescendantOf method

Determines whether this PortalSiteMapNode is a descendant of the supplied node, and caches the result.

Namespace:  Microsoft.SharePoint.Publishing.Navigation
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)

[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public override bool IsDescendantOf(
	SiteMapNode node
)

Parameters

node
Type: System.Web.SiteMapNode

The node from which this SiteMapNode might descend.

Return value

Type: System.Boolean
true if this SiteMapNode is a descendant of the supplied node; otherwise, false.
Show:
© 2016 Microsoft