Partager via


DataResultBase.MaxMatchingItemsNumber, propriété (Microsoft.SharePoint.Portal.WebControls)

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

Espace de noms : Microsoft.SharePoint.Portal.WebControls
Assembly : Microsoft.SharePoint.Portal (dans microsoft.sharepoint.portal.dll)

Syntaxe

'Déclaration
<WebPartStorageAttribute(Storage.Shared)> _
<DefaultValueAttribute(50)> _
<ResourcesAttribute("QueryResults_MaxItem_PropertyName", "Webpart__Custome_Property_Text", "QueryResults_MaxItem_PropertyDescription")> _
Public Property MaxMatchingItemsNumber As Integer
'Utilisation
Dim instance As DataResultBase
Dim value As Integer

value = instance.MaxMatchingItemsNumber

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

Valeur de la propriété

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

Remarques

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

Voir aussi

Référence

DataResultBase, classe
Membres DataResultBase
Microsoft.SharePoint.Portal.WebControls, espace de noms