Share via


RefinementManager.GetInstance method (Page)

Gets the instance of the refinement manager with the specified web page.

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

Syntax

'Declaration
Public Shared Function GetInstance ( _
    CurrentPage As Page _
) As RefinementManager
'Usage
Dim CurrentPage As Page
Dim returnValue As RefinementManager

returnValue = RefinementManager.GetInstance(CurrentPage)
public static RefinementManager GetInstance(
    Page CurrentPage
)

Parameters

  • CurrentPage
    Type: System.Web.UI.Page

    The web page on which the refinement manager resides.

Return value

Type: Microsoft.Office.Server.Search.WebControls.RefinementManager
The instance of the refinement manager.

Remarks

This method calls GetInstance(Page, QueryId) with the CurrentPage parameter and Query1 to get the instance of the refinement manager.

See also

Reference

RefinementManager class

RefinementManager members

GetInstance overload

Microsoft.Office.Server.Search.WebControls namespace