다음을 통해 공유


AdvancedSearchBox.ShowNotQueryTextBox Property

Gets or sets a Boolean value that indicates whether the AdvancedSearchBox Web Part displays the none of these words search box.

Namespace:  Microsoft.Office.Server.Search.WebControls
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

'Declaration
<BrowsableAttribute(True)> _
<WebPartStorageAttribute(Storage.Shared)> _
<ResourcesAttribute("AdvancedSearchBox_ToolPart_ShowNotQueryLabel_Text",  _
    "AdvancedSearchBox_ToolPart_TextQuerySection", "AdvancedSearchBox_ToolPart_ShowNotQueryLabel_Text")> _
Public Property ShowNotQueryTextBox As Boolean
    Get
    Set
'Usage
Dim instance As AdvancedSearchBox
Dim value As Boolean

value = instance.ShowNotQueryTextBox

instance.ShowNotQueryTextBox = value
[BrowsableAttribute(true)]
[WebPartStorageAttribute(Storage.Shared)]
[ResourcesAttribute("AdvancedSearchBox_ToolPart_ShowNotQueryLabel_Text", 
    "AdvancedSearchBox_ToolPart_TextQuerySection", "AdvancedSearchBox_ToolPart_ShowNotQueryLabel_Text")]
public bool ShowNotQueryTextBox { get; set; }

Property Value

Type: System.Boolean
true if the All words search box is displayed; otherwise, false.

See Also

Reference

AdvancedSearchBox Class

AdvancedSearchBox Members

Microsoft.Office.Server.Search.WebControls Namespace