Share via


ManagedPropertyFilterGenerator.GetFilterCategory method

Gets the refinement filter category with the specified managed property name.

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

Syntax

'Declaration
Public Function GetFilterCategory ( _
    propName As String _
) As FilterCategory
'Usage
Dim instance As ManagedPropertyFilterGenerator
Dim propName As String
Dim returnValue As FilterCategory

returnValue = instance.GetFilterCategory(propName)
public FilterCategory GetFilterCategory(
    string propName
)

Parameters

  • propName
    Type: System.String

    The name of the managed property on which the refinement filter category is defined.

Return value

Type: Microsoft.Office.Server.Search.WebControls.FilterCategory
A filter category.

Remarks

This method returns the filter category whose mapped property name is equal to the propName.

See also

Reference

ManagedPropertyFilterGenerator class

ManagedPropertyFilterGenerator members

Microsoft.Office.Server.Search.WebControls namespace