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