KeywordQuery.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
Public Property EnableSpellcheck As SpellcheckMode
Get
Set
'Usage
Dim instance As KeywordQuery
Dim value As SpellcheckMode
value = instance.EnableSpellcheck
instance.EnableSpellcheck = value
public SpellcheckMode EnableSpellcheck { get; set; }
Property value
Type: Microsoft.Office.Server.Search.Query.SpellcheckMode
A value from the SpellcheckMode enumeration.