Share via


QueryProperties.Culture property

NOTE: This API is now obsolete.

Gets or sets the locale for the query.

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

Syntax

'Declaration
<ObsoleteAttribute("This class is obsolete.")> _
Public Property Culture As CultureInfo
    Get
    Set
'Usage
Dim instance As QueryProperties
Dim value As CultureInfo

value = instance.Culture

instance.Culture = value
[ObsoleteAttribute("This class is obsolete.")]
public CultureInfo Culture { get; set; }

Property value

Type: System.Globalization.CultureInfo
The locale ID.

See also

Reference

QueryProperties class

QueryProperties members

Microsoft.SharePoint.Search.Query namespace