QueryBasedCollection<T>.RowLimit QueryBasedCollection<T>.RowLimit QueryBasedCollection<T>.RowLimit Property

Definition

Gets the maximum number of items that can be contained in a collection that is using data paging.

public:
 property System::UInt32 RowLimit { System::UInt32 get(); };
public uint RowLimit { get; }
Public ReadOnly Property RowLimit As UInteger
Property Value

The maximum number of items that can be contained in a collection that is using data paging.

Remarks

The QueryNext method uses this RowLimit property to determine the maximum number of remaining items to retrieve each time it is called. This property can only be set when the collection is initially created or retrieved. It may be set explicitly as a parameter in a collection retrieval method or by setting the SPQuery.RowLimit property of an SPQuery that the collection is based upon. If this value is zero, the collection does not use data paging. In this case, the collection is populated with all items when it is created, and QueryNext has no effect.

Applies to