ManagedPropertyFilterGenerator.GetAppliedFiltersForCategory Method
Gets the already applied filters for the specified filter category.
Namespace: Microsoft.Office.Server.Search.WebControls
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
Public Function GetAppliedFiltersForCategory ( _
fc As FilterCategory, _
refinedData As Dictionary(Of String, Dictionary(Of String, RefinementDataElement)) _
) As Dictionary(Of String, RefinementDataElement)
'Usage
Dim instance As ManagedPropertyFilterGenerator
Dim fc As FilterCategory
Dim refinedData As Dictionary(Of String, Dictionary(Of String, RefinementDataElement))
Dim returnValue As Dictionary(Of String, RefinementDataElement)
returnValue = instance.GetAppliedFiltersForCategory(fc, _
refinedData)
public Dictionary<string, RefinementDataElement> GetAppliedFiltersForCategory(
FilterCategory fc,
Dictionary<string, Dictionary<string, RefinementDataElement>> refinedData
)
Parameters
fc
Type: Microsoft.Office.Server.Search.WebControls.FilterCategoryThe filter category.
refinedData
Type: System.Collections.Generic.Dictionary<String, Dictionary<String, RefinementDataElement>>The refined data to check whether the filter is already applied for a search using Microsoft FAST Search Server 2010 for SharePoint.
Return Value
Type: System.Collections.Generic.Dictionary<String, RefinementDataElement>
The filters which are already applied.
Remarks
This method gets the already applied filters that should be listed at the top of the filter category.
See Also
Reference
ManagedPropertyFilterGenerator Class