KeywordQueryProperties.EnableSpellcheck property

Specifies how to apply spell correction of the query terms when processing the query.

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

Syntax

'Declaration
<DataMemberAttribute> _
Public Property EnableSpellcheck As SpellcheckMode
    Get
    Set
'Usage
Dim instance As KeywordQueryProperties
Dim value As SpellcheckMode

value = instance.EnableSpellcheck

instance.EnableSpellcheck = value
[DataMemberAttribute]
public SpellcheckMode EnableSpellcheck { get; set; }

Property value

Type: Microsoft.Office.Server.Search.Query.SpellcheckMode
A value from the SpellcheckMode enumeration.

See also

Reference

KeywordQueryProperties class

KeywordQueryProperties members

Microsoft.Office.Server.Search.Query namespace