Share via


WindowSearchCustomFilter(String, String) Constructor

Definition

Creates a new instance of a search filter with an apply-filter method for use by the search control for window search.

public:
 WindowSearchCustomFilter(System::String ^ displayText, System::String ^ tooltip);
public:
 WindowSearchCustomFilter(Platform::String ^ displayText, Platform::String ^ tooltip);
 WindowSearchCustomFilter(std::wstring const & displayText, std::wstring const & tooltip);
public WindowSearchCustomFilter (string displayText, string tooltip);
new Microsoft.VisualStudio.PlatformUI.WindowSearchCustomFilter : string * string -> Microsoft.VisualStudio.PlatformUI.WindowSearchCustomFilter
Public Sub New (displayText As String, tooltip As String)

Parameters

displayText
String

The display text for the search filter. . Must be non-whitespace.

tooltip
String

The tooltip text for the search filter. . Must not be an empty string.

Applies to