AdvancedSearchBox.NotQueryTextBoxLabelText Property
Gets or sets the label text for the none of these words search box 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)> _
<ResourcesAttribute("AdvancedSearchBox_ToolPart_NotQueryLabel_Text", _
"AdvancedSearchBox_ToolPart_TextQuerySection", "AdvancedSearchBox_ToolPart_NotQueryLabel_ToolTip")> _
<BrowsableAttribute(True)> _
Public Property NotQueryTextBoxLabelText As String
Get
Set
'Usage
Dim instance As AdvancedSearchBox
Dim value As String
value = instance.NotQueryTextBoxLabelText
instance.NotQueryTextBoxLabelText = value
[WebPartStorageAttribute(Storage.Shared)]
[ResourcesAttribute("AdvancedSearchBox_ToolPart_NotQueryLabel_Text",
"AdvancedSearchBox_ToolPart_TextQuerySection", "AdvancedSearchBox_ToolPart_NotQueryLabel_ToolTip")]
[BrowsableAttribute(true)]
public string NotQueryTextBoxLabelText { get; set; }
Property Value
Type: System.String
A string that contains the label text for the none of these words search box.