TermSet.GetAllTerms method
Returns a collection containing a flat list of all Term objects in the TermSet object.
Namespace: Microsoft.SharePoint.Client.Taxonomy
Assembly: Microsoft.SharePoint.Client.Taxonomy (in Microsoft.SharePoint.Client.Taxonomy.dll)
Syntax
'Declaration
Public Function GetAllTerms As TermCollection
'Usage
Dim instance As TermSet
Dim returnValue As TermCollection
returnValue = instance.GetAllTerms()
public TermCollection GetAllTerms()
Return value
Type: Microsoft.SharePoint.Client.Taxonomy.TermCollection
A collection containing a flat list of all Term objects in the TermSet
Remarks
Use this method if you need to do bulk operations on all Term objects in a TermSet and you want to avoid walking the hierarchy. There is no specific order to the Term objects in the collection. The collection includes deprecated Term objects. To walk through the Term hierarchy, use the Terms property instead.