Udostępnij za pośrednictwem


WindowSearchCommandOption Class

Definition

Represents a command option for use by the search control for window search.

public ref class WindowSearchCommandOption : Microsoft::VisualStudio::PlatformUI::WindowSearchOption, Microsoft::VisualStudio::Shell::Interop::IVsWindowSearchCommandOption
[Windows::Foundation::Metadata::WebHostHidden]
class WindowSearchCommandOption : Microsoft::VisualStudio::PlatformUI::WindowSearchOption, Microsoft::VisualStudio::Shell::Interop::IVsWindowSearchCommandOption
public class WindowSearchCommandOption : Microsoft.VisualStudio.PlatformUI.WindowSearchOption, Microsoft.VisualStudio.Shell.Interop.IVsWindowSearchCommandOption
type WindowSearchCommandOption = class
    inherit WindowSearchOption
    interface IVsWindowSearchCommandOption
    interface IVsWindowSearchOption
Public Class WindowSearchCommandOption
Inherits WindowSearchOption
Implements IVsWindowSearchCommandOption
Inheritance
WindowSearchCommandOption
Implements

Remarks

Command options are represented by push buttons in the search control’s popup. Invoke method is called when the corresponding command push button is pressed.

Constructors

WindowSearchCommandOption(String, String, Action)

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

Properties

DisplayText

Gets or sets the display text for the search option.

(Inherited from WindowSearchOption)
Tooltip

Gets or sets the tooltip for the search option.

(Inherited from WindowSearchOption)

Methods

Invoke()

Invokes the specified command function. Invoke is called when the corresponding command push button is pressed.

Applies to