Partager via


FilterCategory.MaxNumberOfFilters Property

Gets or sets the maximum number of refinement filters displayed when the refinement filter category’s show more link is clicked.

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

Syntax

'Declaration
Public Property MaxNumberOfFilters As Integer
    Get
    Set
'Usage
Dim instance As FilterCategory
Dim value As Integer

value = instance.MaxNumberOfFilters

instance.MaxNumberOfFilters = value
public int MaxNumberOfFilters { get; set; }

Property Value

Type: System.Int32
The maximum number of refinement filters to display.

Remarks

To display all of the refinement filters, set this property to 0.

See Also

Reference

FilterCategory Class

FilterCategory Members

Microsoft.Office.Server.Search.WebControls Namespace