SearchBoxEx.AppQueryTerms Property
Gets or sets the additional query terms appended to the search query entered by the user into the search box Web Part.
Namespace: Microsoft.SharePoint.Portal.WebControls
Assembly: Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)
Syntax
'Declaration
<WebPartStorageAttribute(Storage.Shared)> _
<ResourcesAttribute("SearchBox_AppQueryTerms", "SearchBox_QueryTextBox", _
"SearchBox_AppQueryTerms_ToolTip")> _
Public Property AppQueryTerms As String
Get
Set
'Usage
Dim instance As SearchBoxEx
Dim value As String
value = instance.AppQueryTerms
instance.AppQueryTerms = value
[WebPartStorageAttribute(Storage.Shared)]
[ResourcesAttribute("SearchBox_AppQueryTerms", "SearchBox_QueryTextBox",
"SearchBox_AppQueryTerms_ToolTip")]
public string AppQueryTerms { get; set; }
Property Value
Type: System.String
A string that contains the additional query terms appended to the user's search query.