NavigationTermSetView.ExcludeDeprecatedTerms property

Gets or sets a value that indicates whether NavigationTerm objects are trimmed if the underlying term is deprecated..

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

Syntax

'Declaration
Public Property ExcludeDeprecatedTerms As Boolean
    Get
    Set
'Usage
Dim instance As NavigationTermSetView
Dim value As Boolean

value = instance.ExcludeDeprecatedTerms

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

Property value

Type: System.Boolean
true if NavigationTerm objects are trimmed if the underlying term is deprecated; otherwise, false.

Remarks

When traversing the tree of NavigationTerm objects, if this property is true, then terms are excluded from the Terms collectioin whenever the IsDeprecated property is true.

See also

Reference

NavigationTermSetView class

NavigationTermSetView members

Microsoft.SharePoint.Publishing.Navigation namespace