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