: SearchBoxEx.DisplaySubmittedSearch (Propiedad) (Microsoft.SharePoint.Portal.WebControls)
Gets or sets a Boolean value indicating whether the search terms are displayed in the search box Web Part.
Espacio de nombres:
Ensamblado: Microsoft.SharePoint.Portal (in microsoft.sharepoint.portal.dll)
Sintaxis
'Declaración
<DefaultValueAttribute(True)> _
<ResourcesAttribute("SearchBox_DisplaySubmittedSearch", "", "SearchBox_DisplaySubmittedSearch_ToolTip")> _
<WebPartStorageAttribute(Storage.Shared)> _
Public Property DisplaySubmittedSearch As Boolean
'Uso
Dim instance As SearchBoxEx
Dim value As Boolean
value = instance.DisplaySubmittedSearch
instance.DisplaySubmittedSearch = value
[DefaultValueAttribute(true)]
[ResourcesAttribute("SearchBox_DisplaySubmittedSearch", "", "SearchBox_DisplaySubmittedSearch_ToolTip")]
[WebPartStorageAttribute(Storage.Shared)]
public bool DisplaySubmittedSearch { get; set; }
Valor de propiedad
true if the search terms are displayed in the search box Web Part; otherwise, false.
Comentarios
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.
Vea también
Referencia
SearchBoxEx (Clase)
SearchBoxEx (Miembros)
Microsoft.SharePoint.Portal.WebControls (Espacio de nombres)