Partager via


ManagedPropertyFilterGenerator.GetCustomFilters Method

Gets the custom filters defined in the specified refinement filter category.

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

Syntax

'Declaration
Public Function GetCustomFilters ( _
    propName As String _
) As List(Of ManagedPropertyCustomFilter)
'Usage
Dim instance As ManagedPropertyFilterGenerator
Dim propName As String
Dim returnValue As List(Of ManagedPropertyCustomFilter)

returnValue = instance.GetCustomFilters(propName)
public List<ManagedPropertyCustomFilter> GetCustomFilters(
    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.List<ManagedPropertyCustomFilter>
The custom filters for the refinement.

Remarks

If the custom filters have not been parsed, this method parses the custom filters of the specified refinement filter category.

See Also

Reference

ManagedPropertyFilterGenerator Class

ManagedPropertyFilterGenerator Members

Microsoft.Office.Server.Search.WebControls Namespace