AdvancedSearchBox.ShowLanguageOptions Property
Gets or sets a Boolean value that indicates whether the AdvancedSearchBox Web Part displays the languages picker.
Namespace: Microsoft.Office.Server.Search.WebControls
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
<BrowsableAttribute(True)> _
<ResourcesAttribute("AdvancedSearchBox_ToolPart_ShowLanguagesLabel_Text", _
"AdvancedSearchBox_ToolPart_ScopeSection", "AdvancedSearchBox_ToolPart_ShowLanguagesLabel_Text")> _
<WebPartStorageAttribute(Storage.Shared)> _
Public Property ShowLanguageOptions As Boolean
Get
Set
'Usage
Dim instance As AdvancedSearchBox
Dim value As Boolean
value = instance.ShowLanguageOptions
instance.ShowLanguageOptions = value
[BrowsableAttribute(true)]
[ResourcesAttribute("AdvancedSearchBox_ToolPart_ShowLanguagesLabel_Text",
"AdvancedSearchBox_ToolPart_ScopeSection", "AdvancedSearchBox_ToolPart_ShowLanguagesLabel_Text")]
[WebPartStorageAttribute(Storage.Shared)]
public bool ShowLanguageOptions { get; set; }
Property Value
Type: System.Boolean
true if the languages picker is displayed; otherwise, false.