다음을 통해 공유


AdvancedSearchBox.ResultTypeLabelText Property

Gets or sets the label text for the result type 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
<BrowsableAttribute(True)> _
<ResourcesAttribute("AdvancedSearchBox_ToolPart_ResultTypeLabel_Text",  _
    "AdvancedSearchBox_ToolPart_ScopeSection", "AdvancedSearchBox_ToolPart_ResultTypeLabel_ToolTip")> _
<WebPartStorageAttribute(Storage.Shared)> _
Public Property ResultTypeLabelText As String
    Get
    Set
'Usage
Dim instance As AdvancedSearchBox
Dim value As String

value = instance.ResultTypeLabelText

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

Property Value

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

See Also

Reference

AdvancedSearchBox Class

AdvancedSearchBox Members

Microsoft.Office.Server.Search.WebControls Namespace