ResultScriptWebPart.MaxPagesBeforeCurrent property

Specify the maximum number of pages before the current page of results for which to display paging links

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

Syntax

'Declaration
<PersonalizableAttribute(PersonalizationScope.Shared)> _
<WebBrowsableAttribute(True)> _
Public Property MaxPagesBeforeCurrent As Integer
    Get
    Set
'Usage
Dim instance As ResultScriptWebPart
Dim value As Integer

value = instance.MaxPagesBeforeCurrent

instance.MaxPagesBeforeCurrent = value
[PersonalizableAttribute(PersonalizationScope.Shared)]
[WebBrowsableAttribute(true)]
public int MaxPagesBeforeCurrent { get; set; }

Property value

Type: System.Int32

See also

Reference

ResultScriptWebPart class

ResultScriptWebPart members

Microsoft.Office.Server.Search.WebControls namespace