WindowSearchCustomFilter Constructor
Creates a new instance of a search filter with an apply-filter method for use by the search control for window search.
Namespace: Microsoft.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
Syntax
'Declaration
Public Sub New ( _
displayText As String, _
tooltip As String _
)
public WindowSearchCustomFilter(
string displayText,
string tooltip
)
public:
WindowSearchCustomFilter(
String^ displayText,
String^ tooltip
)
new :
displayText:string *
tooltip:string -> WindowSearchCustomFilter
public function WindowSearchCustomFilter(
displayText : String,
tooltip : String
)
Parameters
displayText
Type: StringThe display text for the search filter. . Must be non-whitespace.
tooltip
Type: StringThe tooltip text 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.