PortalSiteMapDataSource.TrimNonAncestorDescendantTypes Property

Sets which types to trim if they are not located above or below the current site.

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

Syntax

'Declaration
Public Property TrimNonAncestorDescendantTypes As NodeTypes
    Get
    Set
'Usage
Dim instance As PortalSiteMapDataSource
Dim value As NodeTypes

value = instance.TrimNonAncestorDescendantTypes

instance.TrimNonAncestorDescendantTypes = value
public NodeTypes TrimNonAncestorDescendantTypes { get; set; }

Property Value

Type: Microsoft.SharePoint.Publishing.NodeTypes

See Also

Reference

PortalSiteMapDataSource Class

PortalSiteMapDataSource Members

Microsoft.SharePoint.Publishing.Navigation Namespace

TrimmingNode

TreatStartingNodeAsCurrent