DataResultBase.MaxMatchingItemsNumber Property

Gets or sets the upper limit of the number of documents that are displayed in one result page.

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

Syntax

'Declaration
<WebPartStorageAttribute(Storage.Shared)> _
<ResourcesAttribute("QueryResults_MaxItem_PropertyName", "Webpart__Custome_Property_Text",  _
    "QueryResults_MaxItem_PropertyDescription")> _
Public Property MaxMatchingItemsNumber As Integer
    Get
    Set
'Usage
Dim instance As DataResultBase
Dim value As Integer

value = instance.MaxMatchingItemsNumber

instance.MaxMatchingItemsNumber = value
[WebPartStorageAttribute(Storage.Shared)]
[ResourcesAttribute("QueryResults_MaxItem_PropertyName", "Webpart__Custome_Property_Text", 
    "QueryResults_MaxItem_PropertyDescription")]
public int MaxMatchingItemsNumber { get; set; }

Property Value

Type: System.Int32
A signed 32-bit integer that represents the upper limit of the number of documents that are displayed in one result page.

Remarks

The default value is 40. The top 40 documents are displayed in the result page.

See Also

Reference

DataResultBase Class

DataResultBase Members

Microsoft.SharePoint.Portal.WebControls Namespace