Share via


PortalSiteMapNode.IsDescendantOf Method

Determines if 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)

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public Overrides Function IsDescendantOf ( _
    node As SiteMapNode _
) As Boolean
'Usage
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
)

Parameters

Return Value

Type: System.Boolean
Boolean value that indicates if this SiteMapNode is a descendant of the supplied node.

See Also

Reference

PortalSiteMapNode Class

PortalSiteMapNode Members

Microsoft.SharePoint.Publishing.Navigation Namespace