Share via


Query.Culture property

Gets or sets the locale for the query.

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

Syntax

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

value = instance.Culture

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

Property value

Type: System.Int32
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.SharePoint.Client.Search.Query namespace