Share via


Query.Culture Property

Gets or sets the locale for the query.

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

Syntax

'Declaration
Public Property Culture As CultureInfo
    Get
    Set
'Usage
Dim instance As Query
Dim value As CultureInfo

value = instance.Culture

instance.Culture = value
public CultureInfo Culture { get; set; }

Property Value

Type: System.Globalization.CultureInfo
A System.Globalization.CultureInfo object that specifies the locale ID.

Remarks

The query engine uses the locale to interpret the query words, to determine which wordbreaker, stemmer, thesaurus, and other language-sensitive components to use.

See Also

Reference

Query Class

Query Members

Microsoft.Office.Server.Search.Query Namespace