Share via


SearchPagingWebPart.MaxAfterCurrent Property

Gets or sets the maximum number of results that can be paged through from the current page.

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

Syntax

'Declaration
<ResourcesAttribute("SearchResults_PGMaxAfterCurrent", "SearchResults_PG",  _
    "SearchResults_PGMaxAfterCurrent_ToolTip")> _
<WebPartStorageAttribute(Storage.Shared)> _
Public Property MaxAfterCurrent As Short
    Get
    Set
'Usage
Dim instance As SearchPagingWebPart
Dim value As Short

value = instance.MaxAfterCurrent

instance.MaxAfterCurrent = value
[ResourcesAttribute("SearchResults_PGMaxAfterCurrent", "SearchResults_PG", 
    "SearchResults_PGMaxAfterCurrent_ToolTip")]
[WebPartStorageAttribute(Storage.Shared)]
public short MaxAfterCurrent { get; set; }

Property Value

Type: System.Int16

See Also

Reference

SearchPagingWebPart Class

SearchPagingWebPart Members

Microsoft.Office.Server.Search.WebControls Namespace