SearchBoxEx.DisplaySubmittedSearch Property
Gets or sets a Boolean value indicating whether the search terms are displayed in the search box Web Part.
Namespace: Microsoft.SharePoint.Portal.WebControls
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
Public Property DisplaySubmittedSearch As Boolean
Get
Set
'Usage
Dim instance As SearchBoxEx
Dim value As Boolean
value = instance.DisplaySubmittedSearch
instance.DisplaySubmittedSearch = value
public bool DisplaySubmittedSearch { get; set; }
Property Value
Type: System.Boolean
true if the search terms are displayed in the search box Web Part; otherwise, false.
Remarks
This setting is for the search terms previously submitted by the user or appended to the query, so it applies to instances of the search box Web Part used on search results pages.