CoreResultsWebPart.ResultsPerPage Property
Gets or sets the number of results to display per page in the CoreResultsWebPart Web Part.
Namespace: Microsoft.Office.Server.Search.WebControls
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
<WebBrowsableAttribute(True)> _
<PersonalizableAttribute(PersonalizationScope.Shared)> _
<ResourcesAttribute("SearchResults_CRPerPage", "SearchResults_CR", "SearchResults_CRPerPage_ToolTip")> _
Public Property ResultsPerPage As Short
Get
Set
'Usage
Dim instance As CoreResultsWebPart
Dim value As Short
value = instance.ResultsPerPage
instance.ResultsPerPage = value
[WebBrowsableAttribute(true)]
[PersonalizableAttribute(PersonalizationScope.Shared)]
[ResourcesAttribute("SearchResults_CRPerPage", "SearchResults_CR", "SearchResults_CRPerPage_ToolTip")]
public short ResultsPerPage { get; set; }
Property Value
Type: System.Int16
An integer representing the number of results to display per page.