AdvancedSearchBox.ShowResultTypePicker Property
Gets or sets a Boolean value that indicates whether the AdvancedSearchBox Web Part displays the result type picker.
Namespace: Microsoft.Office.Server.Search.WebControls
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
<BrowsableAttribute(True)> _
<WebPartStorageAttribute(Storage.Shared)> _
<ResourcesAttribute("AdvancedSearchBox_ToolPart_ShowResultTypeLabel_Text", _
"AdvancedSearchBox_ToolPart_ScopeSection", "AdvancedSearchBox_ToolPart_ShowResultTypeLabel_Text")> _
Public Property ShowResultTypePicker As Boolean
Get
Set
'Usage
Dim instance As AdvancedSearchBox
Dim value As Boolean
value = instance.ShowResultTypePicker
instance.ShowResultTypePicker = value
[BrowsableAttribute(true)]
[WebPartStorageAttribute(Storage.Shared)]
[ResourcesAttribute("AdvancedSearchBox_ToolPart_ShowResultTypeLabel_Text",
"AdvancedSearchBox_ToolPart_ScopeSection", "AdvancedSearchBox_ToolPart_ShowResultTypeLabel_Text")]
public bool ShowResultTypePicker { get; set; }
Property Value
Type: System.Boolean
true if the result type picker is displayed; otherwise, false.