RefinementManager.GetFilterCategoryById method

Gets the filter category with the specified category identifier (ID).

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

Syntax

'Declaration
Public Function GetFilterCategoryById ( _
    filterCatId As String _
) As FilterCategory
'Usage
Dim instance As RefinementManager
Dim filterCatId As String
Dim returnValue As FilterCategory

returnValue = instance.GetFilterCategoryById(filterCatId)
public FilterCategory GetFilterCategoryById(
    string filterCatId
)

Parameters

  • filterCatId
    Type: System.String

    The ID of the filter category to be returned.

Return value

Type: Microsoft.Office.Server.Search.WebControls.FilterCategory
The filter category with the specified ID.

Remarks

This method retrieves the filter category with the specified ID from the filter categories of the refinement manager.

This method returns null if the filterCatId is null or empty.

See also

Reference

RefinementManager class

RefinementManager members

Microsoft.Office.Server.Search.WebControls namespace