Share via


PortalSiteMapDataSource.TrimNonAncestorTypes property

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

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

Syntax

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

value = instance.TrimNonAncestorTypes

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

Property value

Type: Microsoft.SharePoint.Publishing.NodeTypes

See also

Reference

PortalSiteMapDataSource class

PortalSiteMapDataSource members

Microsoft.SharePoint.Publishing.Navigation namespace

TrimmingNode

TreatStartingNodeAsCurrent