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)

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
true if this SiteMapNode is a descendant of the supplied node; otherwise, false.

See also

Reference

PortalSiteMapNode class

PortalSiteMapNode members

Microsoft.SharePoint.Publishing.Navigation namespace