TermSet.GetAllTerms TermSet.GetAllTerms TermSet.GetAllTerms Method

Definition

Returns a collection containing a flat list of all Term objects in the TermSet object.

public:
 Microsoft::SharePoint::Taxonomy::TermCollection ^ GetAllTerms();
[Microsoft.SharePoint.Client.ClientCallable(ClientLibraryTargets=Microsoft.SharePoint.Client.ClientLibraryTargets.NonRESTful)]
public Microsoft.SharePoint.Taxonomy.TermCollection GetAllTerms ();
Public Function GetAllTerms () As TermCollection
Returns

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.

Applies to