共用方式為


WindowSearchOption(String, String) Constructor

Definition

Creates a new instance of a search option for use by the search control for window search.

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

Parameters

displayText
String

The display text for the search option

tooltip
String

The tooltip text for the search option

Applies to