Expand Minimize

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)

public CultureInfo Culture { get; set; }

Property value

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

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

Community Additions

ADD
Show:
© 2014 Microsoft