Share via


NavigationTermSetItem.Terms property

Gets a collection of all immediate child NavigationTerm objects of this NavigationTerm object or NavigationTermSet object.

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

Syntax

'Declaration
Public ReadOnly Property Terms As NavigationTermCollection
    Get
'Usage
Dim instance As NavigationTermSetItem
Dim value As NavigationTermCollection

value = instance.Terms
public NavigationTermCollection Terms { get; }

Property value

Type: Microsoft.SharePoint.Client.Publishing.Navigation.NavigationTermCollection
A collection of child terms belonging to this NavigationTermSetItem object.

Remarks

If this object is NavigationTerm, then the Parent property for the child objects point to this object. If the object is a NavigationTermSet, then the Parent property is a null reference (Nothing in Visual Basic) for the top-level child terms.

The terms collection excludes some objects according to the trimming that is specified by the associated View() property. For example, if NavigationTermSetView.ExcludeDeprecatedTerms is true, then objects will be trimmed (that is, excluded) from the collection if their IsDeprecated property is true.

See also

Reference

NavigationTermSetItem class

NavigationTermSetItem members

Microsoft.SharePoint.Client.Publishing.Navigation namespace