ItemLimit property
TOC
Collapse the table of content
Expand the table of content

ContentByQueryWebPart.ItemLimit property

Gets or sets the limit of number of items to query.

Namespace:  Microsoft.SharePoint.Publishing.WebControls
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)

[PersonalizableAttribute(PersonalizationScope.Shared)]
[WebBrowsableAttribute(false)]
public int ItemLimit { get; set; }

Property value

Type: System.Int32

For unlimited number of items, set this property value to -1.

Show:
© 2016 Microsoft