TaxonomyFilterGenerator Constructor (RefinementManager, List<FilterCategory>)
Initializes a new instance of the TaxonomyFilterGenerator class with the specified refinement manager and filter categories.
Namespace: Microsoft.Office.Server.Search.WebControls
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
Public Sub New ( _
parentRefMngr As RefinementManager, _
filterCategories As List(Of FilterCategory) _
)
'Usage
Dim parentRefMngr As RefinementManager
Dim filterCategories As List(Of FilterCategory)
Dim instance As New TaxonomyFilterGenerator(parentRefMngr, _
filterCategories)
public TaxonomyFilterGenerator(
RefinementManager parentRefMngr,
List<FilterCategory> filterCategories
)
Parameters
parentRefMngr
Type: Microsoft.Office.Server.Search.WebControls.RefinementManagerThe parent refinement manager that instantiates the TaxonomyFilterGenerator.
filterCategories
Type: System.Collections.Generic.List<FilterCategory>All of the filter categories in the filter configuration from which filter categories are selected based on taxonomy.
Remarks
This constructor calls the SetRelevantFilterCategories() method of the parent class to initialize the filter categories.
See Also
Reference
TaxonomyFilterGenerator Members