Condividi tramite


AdvancedSearchBox.ScopeLabelText Property

Gets or sets the label text for the scopes picker 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_ScopesLabel_Text", "AdvancedSearchBox_ToolPart_ScopeSection",  _
    "AdvancedSearchBox_ToolPart_ScopesLabel_ToolTip")> _
Public Property ScopeLabelText As String
    Get
    Set
'Usage
Dim instance As AdvancedSearchBox
Dim value As String

value = instance.ScopeLabelText

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

Property Value

Type: System.String
A string that contains the label text for the scopes picker.

See Also

Reference

AdvancedSearchBox Class

AdvancedSearchBox Members

Microsoft.Office.Server.Search.WebControls Namespace