Compartir a través de


: DataResultBase.MaxMatchingItemsNumber (Propiedad) (Microsoft.SharePoint.Portal.WebControls)

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

Espacio de nombres:
Ensamblado: Microsoft.SharePoint.Portal (in microsoft.sharepoint.portal.dll)

Sintaxis

'Declaración
<WebPartStorageAttribute(Storage.Shared)> _
<DefaultValueAttribute(50)> _
<ResourcesAttribute("QueryResults_MaxItem_PropertyName", "Webpart__Custome_Property_Text", "QueryResults_MaxItem_PropertyDescription")> _
Public Property MaxMatchingItemsNumber As Integer
'Uso
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; }

Valor de propiedad

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

Comentarios

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

Vea también

Referencia

DataResultBase (Clase)
DataResultBase (Miembros)
Microsoft.SharePoint.Portal.WebControls (Espacio de nombres)