WindowSearchCommandOption(String, String, Action) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new instance of a command option for use by the search control for window search.
public:
WindowSearchCommandOption(System::String ^ displayText, System::String ^ tooltip, Action ^ commandAction);
public WindowSearchCommandOption (string displayText, string tooltip, Action commandAction);
new Microsoft.VisualStudio.PlatformUI.WindowSearchCommandOption : string * string * Action -> Microsoft.VisualStudio.PlatformUI.WindowSearchCommandOption
Public Sub New (displayText As String, tooltip As String, commandAction As Action)
Parameters
- displayText
- String
The display text for the search option.
- tooltip
- String
The tooltip text for the search option.
- commandAction
- Action
The function which performs the option action.