Partager via


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