Partager via


SearchResultsBaseWebPart.ResultsPerPage Property

Gets or sets the number of rows to return for each search results page.

Namespace:  Microsoft.Office.Server.Search.WebControls
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

'Declaration
<WebBrowsableAttribute(False)> _
<PersonalizableAttribute(PersonalizationScope.Shared)> _
Public Property ResultsPerPage As Short
    Get
    Set
'Usage
Dim instance As SearchResultsBaseWebPart
Dim value As Short

value = instance.ResultsPerPage

instance.ResultsPerPage = value
[WebBrowsableAttribute(false)]
[PersonalizableAttribute(PersonalizationScope.Shared)]
public short ResultsPerPage { get; set; }

Property Value

Type: System.Int16
The number of rows that are returned for each search results page.

Remarks

The following are default values for this property:

See Also

Reference

SearchResultsBaseWebPart Class

SearchResultsBaseWebPart Members

Microsoft.Office.Server.Search.WebControls Namespace