Share via


NavigationTerm.GetAllParentTerms method

Returns the parent NavigationTerm object and all of its parent terms.

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

Syntax

'Declaration
Public Function GetAllParentTerms As NavigationTermCollection
'Usage
Dim instance As NavigationTerm
Dim returnValue As NavigationTermCollection

returnValue = instance.GetAllParentTerms()
public NavigationTermCollection GetAllParentTerms()

Return value

Type: Microsoft.SharePoint.Client.Publishing.Navigation.NavigationTermCollection
The parent NavigationTerm object and all of its parent terms.

Remarks

If there is no parent term, then the collection will be empty.

See also

Reference

NavigationTerm class

NavigationTerm members

Microsoft.SharePoint.Client.Publishing.Navigation namespace