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.SharePoint.Client.Search.Query
Assembly:  Microsoft.SharePoint.Client.Search (in Microsoft.SharePoint.Client.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.SharePoint.Client.Search.Query namespace