Partager 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
<WebBrowsableAttribute(False)> _
<PersonalizableAttribute(PersonalizationScope.Shared)> _
Public Property ShowLangPicker As Boolean
    Get
    Set
'Usage
Dim instance As CoreResultsWebPart
Dim value As Boolean

value = instance.ShowLangPicker

instance.ShowLangPicker = value
[WebBrowsableAttribute(false)]
[PersonalizableAttribute(PersonalizationScope.Shared)]
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