Share via


TermCollection.MoveNext Method

Gets the next set of paged data in the collection.

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

Syntax

'Declaration
Public Function MoveNext As Boolean
'Usage
Dim instance As TermCollection
Dim returnValue As Boolean

returnValue = instance.MoveNext()
public bool MoveNext()

Return Value

Type: System.Boolean
true if a new set of paged data is retrieved; false if no remaining paged data available

Remarks

This method populates the collection with the next subset of paged data available. The maximum size of the subset is based on the paging limit that was specified when the collection was initially created or retrieved. The values is available in the PagingLimit property.If this collection is not paged then the PagingLimit property returns 0 and the MoveNext() method has no effect and returns false. In this case, the collection has already been retrieved in its entirety.

See Also

Reference

TermCollection Class

TermCollection Members

Microsoft.SharePoint.Taxonomy Namespace