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 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