Share via


KeywordQuery.Refiners property

Gets or sets the set of refiners to be returned in a search result. The value for each refiner is a format string that specifies the name of a refiner and optionally a set of refinement options for this refiner.

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

Syntax

'Declaration
Public Property Refiners As String
    Get
    Set
'Usage
Dim instance As KeywordQuery
Dim value As String

value = instance.Refiners

instance.Refiners = value
public string Refiners { get; set; }

Property value

Type: System.String
A string containing a comma separated list of refiners with optional refinement options.

Remarks

By default, no refiners will be returned with the query result if the Refiners property is empty.

See also

Reference

KeywordQuery class

KeywordQuery members

Microsoft.Office.Server.Search.Query namespace