Share via


RefinementManager.GetRefinementFilterGeneratorByFilterType Method

Creates a 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
Protected Overridable Function GetRefinementFilterGeneratorByFilterType ( _
    filterType As String _
) As RefinementFilterGenerator
'Usage
Dim filterType As String
Dim returnValue As RefinementFilterGenerator

returnValue = Me.GetRefinementFilterGeneratorByFilterType(filterType)
protected virtual RefinementFilterGenerator GetRefinementFilterGeneratorByFilterType(
    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 creates a new filter generator according to the specified filter type.

This method returns null if the filterType is null or empty, or the method fails to create the filter generator.

See Also

Reference

RefinementManager Class

RefinementManager Members

Microsoft.Office.Server.Search.WebControls Namespace