Share via


CoreResultsWebPart.ShowLangPicker property

Gets or sets a Boolean value that specifies whether the language picker control is displayed in the action links.

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

Syntax

'Declaration
<PersonalizableAttribute(PersonalizationScope.Shared)> _
<WebBrowsableAttribute(False)> _
Public Property ShowLangPicker As Boolean
    Get
    Set
'Usage
Dim instance As CoreResultsWebPart
Dim value As Boolean

value = instance.ShowLangPicker

instance.ShowLangPicker = value
[PersonalizableAttribute(PersonalizationScope.Shared)]
[WebBrowsableAttribute(false)]
public bool ShowLangPicker { get; set; }

Property value

Type: System.Boolean
true if the control is displayed; otherwise, false.

Remarks

The language picker control displays if the user selects other languages in addition to the default query language from the Preferences link in the search box.

See also

Reference

CoreResultsWebPart class

CoreResultsWebPart members

Microsoft.Office.Server.Search.WebControls namespace