ItemLimit property
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)

public int ItemLimit { get; set; }

Property value

Type: System.Int32

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

© 2016 Microsoft