SearchBoxEx.AppendToQuery, propriété (Microsoft.SharePoint.Portal.WebControls)
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.
Espace de noms : Microsoft.SharePoint.Portal.WebControls
Assembly : Microsoft.SharePoint.Portal (dans microsoft.sharepoint.portal.dll)
Syntaxe
'Déclaration
<WebPartStorageAttribute(Storage.Shared)> _
<ResourcesAttribute("SearchBox_AppAdditionalTermsToQuery", "SearchBox_QueryTextBox", "SearchBox_AppAdditionalTermsToQuery_ToolTip")> _
<DefaultValueAttribute(True)> _
Public Property AppendToQuery As Boolean
'Utilisation
Dim instance As SearchBoxEx
Dim value As Boolean
value = instance.AppendToQuery
instance.AppendToQuery = value
[WebPartStorageAttribute(Storage.Shared)]
[ResourcesAttribute("SearchBox_AppAdditionalTermsToQuery", "SearchBox_QueryTextBox", "SearchBox_AppAdditionalTermsToQuery_ToolTip")]
[DefaultValueAttribute(true)]
public bool AppendToQuery { get; set; }
Valeur de la propriété
true if additional query terms are appended to the user's search query; otherwise, false.
Voir aussi
Référence
SearchBoxEx, classe
Membres SearchBoxEx
Microsoft.SharePoint.Portal.WebControls, espace de noms