共用方式為


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

Remarks

This constructor calls the SetRelevantFilterCategories() method of the parent class to initialize the filter categories.

See Also

Reference

TaxonomyFilterGenerator Class

TaxonomyFilterGenerator Members

TaxonomyFilterGenerator Overload

Microsoft.Office.Server.Search.WebControls Namespace