Udostępnij za pośrednictwem


WindowSearchCommandOption(String, String, Action) Constructor

Definition

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.

Applies to