WindowSearchSimpleFilter Constructor
Creates a new instance of a search filter with a default value and a filter field for use by the search control for window search.
Namespace: Microsoft.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'Declaration
Public Sub New ( _
displayText As String, _
tooltip As String, _
filterField As String, _
defaultFilterValue As String _
)
public WindowSearchSimpleFilter(
string displayText,
string tooltip,
string filterField,
string defaultFilterValue
)
public:
WindowSearchSimpleFilter(
String^ displayText,
String^ tooltip,
String^ filterField,
String^ defaultFilterValue
)
new :
displayText:string *
tooltip:string *
filterField:string *
defaultFilterValue:string -> WindowSearchSimpleFilter
public function WindowSearchSimpleFilter(
displayText : String,
tooltip : String,
filterField : String,
defaultFilterValue : String
)
Parameters
displayText
Type: System.StringThe display text for the search filter. . Must be non-whitespace.
tooltip
Type: System.StringThe tooltip text for the search filter. . Must not be an empty string.
filterField
Type: System.StringThe filter field for the search filter. Must not be an empty string.
defaultFilterValue
Type: System.StringThe default value for the search filter. Must not be an empty string.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.