TermSet.Terms property

Gets a collection of child Term objects at the root of the TermSet object.

Namespace:  Microsoft.SharePoint.Taxonomy
Assembly:  Microsoft.SharePoint.Taxonomy (in Microsoft.SharePoint.Taxonomy.dll)

Syntax

'Declaration
Public Overrides ReadOnly Property Terms As TermCollection
    Get
'Usage
Dim instance As TermSet
Dim value As TermCollection

value = instance.Terms
public override TermCollection Terms { get; }

Property value

Type: Microsoft.SharePoint.Taxonomy.TermCollection
A collection of child Term objects at the root of the TermSet.

Remarks

The return TermCollection is sorted based on the custom sort order. If there is no custom sort order defined, then it is sorted by label based on the alphabetical order of the WorkingLanguage() property.

See also

Reference

TermSet class

TermSet members

Microsoft.SharePoint.Taxonomy namespace

GetTerms(Int32)

GetTerm(Guid)

GetTerms(String, Boolean)

GetTerms(String, Boolean, StringMatchOption, Int32, Boolean)

GetTerms(String, Int32, Boolean)

GetTerms(String, Int32, Boolean, StringMatchOption, Int32, Boolean)