SearchBoxEx.AppendToQuery property

Gets or sets a Boolean value indicating whether additional query terms are appended to the search query entered by the user into 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 AppendToQuery As Boolean
    Get
    Set
'Usage
Dim instance As SearchBoxEx
Dim value As Boolean

value = instance.AppendToQuery

instance.AppendToQuery = value
public bool AppendToQuery { get; set; }

Property value

Type: System.Boolean
true if additional query terms are appended to the user's search query; otherwise, false.

See also

Reference

SearchBoxEx class

SearchBoxEx members

Microsoft.SharePoint.Portal.WebControls namespace