共用方式為


QueryProperties.EnablePhonetic Property

Gets or sets a Boolean value that specifies whether the phonetic forms of the query terms are used to find matches.

Namespace:  Microsoft.SharePoint.Search.Query
Assembly:  Microsoft.SharePoint.Search (in Microsoft.SharePoint.Search.dll)

Syntax

'Declaration
Public Property EnablePhonetic As Boolean
    Get
    Set
'Usage
Dim instance As QueryProperties
Dim value As Boolean

value = instance.EnablePhonetic

instance.EnablePhonetic = value
public bool EnablePhonetic { get; set; }

Property Value

Type: System.Boolean
true if phonetic forms are used; otherwise, false. The default value is false.

See Also

Reference

QueryProperties Class

QueryProperties Members

Microsoft.SharePoint.Search.Query Namespace