Partager via


SearchBoxEx.AppQueryTerms, propriété (Microsoft.SharePoint.Portal.WebControls)

Gets or sets the additional query terms appended to the search query entered by the user into the search box Web Part.

Espace de noms : Microsoft.SharePoint.Portal.WebControls
Assembly : Microsoft.SharePoint.Portal (dans microsoft.sharepoint.portal.dll)

Syntaxe

'Déclaration
<WebPartStorageAttribute(Storage.Shared)> _
<DefaultValueAttribute("")> _
<ResourcesAttribute("SearchBox_AppQueryTerms", "SearchBox_QueryTextBox", "SearchBox_AppQueryTerms_ToolTip")> _
Public Property AppQueryTerms As String
'Utilisation
Dim instance As SearchBoxEx
Dim value As String

value = instance.AppQueryTerms

instance.AppQueryTerms = value
[WebPartStorageAttribute(Storage.Shared)] 
[DefaultValueAttribute("")] 
[ResourcesAttribute("SearchBox_AppQueryTerms", "SearchBox_QueryTextBox", "SearchBox_AppQueryTerms_ToolTip")] 
public string AppQueryTerms { get; set; }

Valeur de la propriété

A string that contains the additional query terms appended to the user's search query.

Voir aussi

Référence

SearchBoxEx, classe
Membres SearchBoxEx
Microsoft.SharePoint.Portal.WebControls, espace de noms