Partager via


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

Gets or sets a Boolean value indicating whether a link to the Advanced Search page is displayed.

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

Syntaxe

'Déclaration
<WebPartStorageAttribute(Storage.Shared)> _
<DefaultValueAttribute(False)> _
<ResourcesAttribute("SearchBox_DisplayAdvSearchLink", "", "SearchBox_DisplayAdvSearchLink_ToolTip")> _
Public Property ShowAdvancedSearch As Boolean
'Utilisation
Dim instance As SearchBoxEx
Dim value As Boolean

value = instance.ShowAdvancedSearch

instance.ShowAdvancedSearch = value
[WebPartStorageAttribute(Storage.Shared)] 
[DefaultValueAttribute(false)] 
[ResourcesAttribute("SearchBox_DisplayAdvSearchLink", "", "SearchBox_DisplayAdvSearchLink_ToolTip")] 
public bool ShowAdvancedSearch { get; set; }

Valeur de la propriété

true if the Advanced Search page link is displayed; otherwise, false.

Voir aussi

Référence

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