Compartilhar via


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