RefinementManager.GetRegisteredFilterGeneratorByFilterType method

Gets the filter generator with the specified filter type.

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

Syntax

'Declaration
Public Function GetRegisteredFilterGeneratorByFilterType ( _
    filterType As String _
) As RefinementFilterGenerator
'Usage
Dim instance As RefinementManager
Dim filterType As String
Dim returnValue As RefinementFilterGenerator

returnValue = instance.GetRegisteredFilterGeneratorByFilterType(filterType)
public RefinementFilterGenerator GetRegisteredFilterGeneratorByFilterType(
    string filterType
)

Parameters

  • filterType
    Type: System.String

    The filter type that the filter generator handles.

Return value

Type: Microsoft.Office.Server.Search.WebControls.RefinementFilterGenerator
The filter generator which handles the specified filter type.

Remarks

This method retrieves the filter generator from the filter generators represented by the FilterGenerators property according to the specified filter type.

This method returns null if it cannot find a filter generator with the specified filter type.

See also

Reference

RefinementManager class

RefinementManager members

Microsoft.Office.Server.Search.WebControls namespace