AdvancedSearchBox.ShowAndQueryTextBox Property
Gets or sets a Boolean value that indicates whether the AdvancedSearchBox Web Part displays the All 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_ShowAndQueryLabel_Text", _
"AdvancedSearchBox_ToolPart_TextQuerySection", "AdvancedSearchBox_ToolPart_ShowAndQueryLabel_Text")> _
<WebPartStorageAttribute(Storage.Shared)> _
<BrowsableAttribute(True)> _
Public Property ShowAndQueryTextBox As Boolean
Get
Set
'Usage
Dim instance As AdvancedSearchBox
Dim value As Boolean
value = instance.ShowAndQueryTextBox
instance.ShowAndQueryTextBox = value
[ResourcesAttribute("AdvancedSearchBox_ToolPart_ShowAndQueryLabel_Text",
"AdvancedSearchBox_ToolPart_TextQuerySection", "AdvancedSearchBox_ToolPart_ShowAndQueryLabel_Text")]
[WebPartStorageAttribute(Storage.Shared)]
[BrowsableAttribute(true)]
public bool ShowAndQueryTextBox { get; set; }
Property Value
Type: System.Boolean
true if the All words search box is displayed; otherwise, false.