Share via


ManagedPropertyFilterGenerator.GetCategoryConstraints Method

Gets the constraints on the filter category.

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

Syntax

'Declaration
Public Overrides Function GetCategoryConstraints ( _
    propName As String _
) As Dictionary(Of String, String)
'Usage
Dim instance As ManagedPropertyFilterGenerator
Dim propName As String
Dim returnValue As Dictionary(Of String, String)

returnValue = instance.GetCategoryConstraints(propName)
public override Dictionary<string, string> GetCategoryConstraints(
    string propName
)

Parameters

  • propName
    Type: System.String

    The name of the managed property on which the refinement filter category is defined.

Return Value

Type: System.Collections.Generic.Dictionary<String, String>
The constraints on the filter category.

Remarks

If the maximum number of filters of the filter category is greater than 0, this method adds a cutoff constraint. If the “sort by” and the sort direction of the filter category is specified, this method adds a sort constraint.

See Also

Reference

ManagedPropertyFilterGenerator Class

ManagedPropertyFilterGenerator Members

Microsoft.Office.Server.Search.WebControls Namespace