Compartilhar via


TermCollection.PagingLimit Property

Gets the maximum number of items that can be contained in the current collection.

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

Syntax

'Declaration
Public ReadOnly Property PagingLimit As Integer
    Get
'Usage
Dim instance As TermCollection
Dim value As Integer

value = instance.PagingLimit
public int PagingLimit { get; }

Property Value

Type: System.Int32
The maximum number of items that can be contained in this collection if the collection is using data paging, or zero if the collection is not using data paging.

Remarks

The MoveNext() method uses this property to determine the maximum number of items to get each time it is called. This property can only be set when the collection is initially created or get by explicitly setting a parameter in the method used to get the collection. Not all methods used to get collections support returning a paged collection.

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