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 Overrides Function IsDescendantOf ( _
    node As SiteMapNode _
) As Boolean
Dim instance As PortalSiteMapNode
Dim node As SiteMapNode
Dim returnValue As Boolean

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


Return Value

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

See Also


PortalSiteMapNode Class

PortalSiteMapNode Members

Microsoft.SharePoint.Publishing.Navigation Namespace