AdvancedSearchBox.DisplayGroup Property
Gets or sets the name of the scope display group displayed in the AdvancedSearchBox Web Part.
Namespace: Microsoft.Office.Server.Search.WebControls
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
<WebPartStorageAttribute(Storage.Shared)> _
<BrowsableAttribute(True)> _
<ResourcesAttribute("AdvancedSearchBox_ToolPart_DisplayGroup_Text", "AdvancedSearchBox_ToolPart_ScopeSection", _
"AdvancedSearchBox_ToolPart_DisplayGroup_ToolTip")> _
Public Property DisplayGroup As String
Get
Set
'Usage
Dim instance As AdvancedSearchBox
Dim value As String
value = instance.DisplayGroup
instance.DisplayGroup = value
[WebPartStorageAttribute(Storage.Shared)]
[BrowsableAttribute(true)]
[ResourcesAttribute("AdvancedSearchBox_ToolPart_DisplayGroup_Text", "AdvancedSearchBox_ToolPart_ScopeSection",
"AdvancedSearchBox_ToolPart_DisplayGroup_ToolTip")]
public string DisplayGroup { get; set; }
Property Value
Type: System.String
A string that contains the scope display group name.