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.StringThe 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.