Share via


SearchBoxEx.ShowAdvancedSearch Property

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

Namespace:  Microsoft.SharePoint.Portal.WebControls
Assembly:  Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)

Syntax

'Declaration
<WebPartStorageAttribute(Storage.Shared)> _
<ResourcesAttribute("SearchBox_DisplayAdvSearchLink", "", "SearchBox_DisplayAdvSearchLink_ToolTip")> _
Public Property ShowAdvancedSearch As Boolean
    Get
    Set
'Usage
Dim instance As SearchBoxEx
Dim value As Boolean

value = instance.ShowAdvancedSearch

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

Property Value

Type: System.Boolean
true if the Advanced Search page link is displayed; otherwise, false.

See Also

Reference

SearchBoxEx Class

SearchBoxEx Members

Microsoft.SharePoint.Portal.WebControls Namespace