Share via


NavigationTermSetView.ExcludeDeprecatedTerms property

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

Namespace:  Microsoft.SharePoint.Client.Publishing.Navigation
Assembly:  Microsoft.SharePoint.Client.Publishing (in Microsoft.SharePoint.Client.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 collection whenever the IsDeprecated property is true.

See also

Reference

NavigationTermSetView class

NavigationTermSetView members

Microsoft.SharePoint.Client.Publishing.Navigation namespace