NavigationTermSetItem.Terms property
Gets a collection of all immediate child NavigationTerm objects of this NavigationTerm object or NavigationTermSet object.
Namespace: Microsoft.SharePoint.Publishing.Navigation
Assembly: Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
Syntax
'Declaration
Public MustOverride ReadOnly Property Terms As ReadOnlyCollection(Of NavigationTerm)
Get
'Usage
Dim instance As NavigationTermSetItem
Dim value As ReadOnlyCollection(Of NavigationTerm)
value = instance.Terms
public abstract ReadOnlyCollection<NavigationTerm> Terms { get; }
Property value
Type: System.Collections.ObjectModel.ReadOnlyCollection<NavigationTerm>
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 (i.e., excluded) from the collection if their IsDeprecated property is true.