Share via


AdvancedSearchBox.ScopeSectionLabelText Property

Gets or sets the label text for the Scopes section 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_ScopeSectionLabel_Text",  _
    "AdvancedSearchBox_ToolPart_ScopeSection", "AdvancedSearchBox_ToolPart_SectionLabel_ToolTip")> _
Public Property ScopeSectionLabelText As String
    Get
    Set
'Usage
Dim instance As AdvancedSearchBox
Dim value As String

value = instance.ScopeSectionLabelText

instance.ScopeSectionLabelText = value
[WebPartStorageAttribute(Storage.Shared)]
[BrowsableAttribute(true)]
[ResourcesAttribute("AdvancedSearchBox_ToolPart_ScopeSectionLabel_Text", 
    "AdvancedSearchBox_ToolPart_ScopeSection", "AdvancedSearchBox_ToolPart_SectionLabel_ToolTip")]
public string ScopeSectionLabelText { get; set; }

Property Value

Type: System.String
A string that contains the label text for the Scopes section.

See Also

Reference

AdvancedSearchBox Class

AdvancedSearchBox Members

Microsoft.Office.Server.Search.WebControls Namespace