TermSetItem.GetTerms method
Gets a paged collection containing the child Term objects of this TermSetItem object.
Namespace: Microsoft.SharePoint.Client.Taxonomy
Assembly: Microsoft.SharePoint.Client.Taxonomy (in Microsoft.SharePoint.Client.Taxonomy.dll)
Syntax
'Declaration
Public Function GetTerms ( _
pagingLimit As Integer _
) As TermCollection
'Usage
Dim instance As TermSetItem
Dim pagingLimit As Integer
Dim returnValue As TermCollection
returnValue = instance.GetTerms(pagingLimit)
public TermCollection GetTerms(
int pagingLimit
)
Parameters
pagingLimit
Type: System.Int32The maximum number of items to return in the collection
Return value
Type: Microsoft.SharePoint.Client.Taxonomy.TermCollection
A paged collection containing the child Term instances of this TermSetItem.
Remarks
This method has the same results as Terms except that it returns a collection that supports paging.
Call the CommitAll() method before using the paged collection. The paged collection does not reflect uncommitted changes if the collection size is greater than the pagingLimit.
The returned term collection is sorted based on the custom sort order. If there is no custom sort order defined, then it is sorted based on the alphabetic order of the WorkingLanguage property values.