PortalSiteMapDataSource.TreatStartingNodeAsCurrent property

Gets or sets a value that indicates whether or not the data source's starting node is treated as the "current" node or "trimming" node when applying trimming options.

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

Syntax

'Declaration
Public Property TreatStartingNodeAsCurrent As Boolean
    Get
    Set
'Usage
Dim instance As PortalSiteMapDataSource
Dim value As Boolean

value = instance.TreatStartingNodeAsCurrent

instance.TreatStartingNodeAsCurrent = value
public bool TreatStartingNodeAsCurrent { get; set; }

Property value

Type: System.Boolean

See also

Reference

PortalSiteMapDataSource class

PortalSiteMapDataSource members

Microsoft.SharePoint.Publishing.Navigation namespace

TrimmingNode