WindowSearchCommandOption WindowSearchCommandOption WindowSearchCommandOption WindowSearchCommandOption 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
WindowSearchCommandOptionWindowSearchCommandOptionWindowSearchCommandOptionWindowSearchCommandOptionWindowSearchCommandOption
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) WindowSearchCommandOption(String, String, Action) WindowSearchCommandOption(String, String, Action) WindowSearchCommandOption(String, String, Action) WindowSearchCommandOption(String, String, Action)

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

Methods

Invoke() Invoke() Invoke() Invoke() Invoke()

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

Properties

DisplayText DisplayText DisplayText DisplayText DisplayText

Gets or sets the display text for the search option.

(Inherited from WindowSearchOption)
Tooltip Tooltip Tooltip Tooltip Tooltip

Gets or sets the tooltip for the search option.

(Inherited from WindowSearchOption)

Extension Methods

FindAncestor<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>) FindAncestor<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>) FindAncestor<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>) FindAncestor<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>) FindAncestor<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>)
FindAncestor<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>) FindAncestor<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>) FindAncestor<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>) FindAncestor<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>) FindAncestor<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>)

Microsoft internal use only.

FindAncestorOrSelf<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>) FindAncestorOrSelf<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>) FindAncestorOrSelf<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>) FindAncestorOrSelf<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>) FindAncestorOrSelf<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>)
FindAncestorOrSelf<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>) FindAncestorOrSelf<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>) FindAncestorOrSelf<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>) FindAncestorOrSelf<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>) FindAncestorOrSelf<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>)
IsAncestorOf<TElementType>(TElementType, TElementType, Func<TElementType,TElementType>) IsAncestorOf<TElementType>(TElementType, TElementType, Func<TElementType,TElementType>) IsAncestorOf<TElementType>(TElementType, TElementType, Func<TElementType,TElementType>) IsAncestorOf<TElementType>(TElementType, TElementType, Func<TElementType,TElementType>) IsAncestorOf<TElementType>(TElementType, TElementType, Func<TElementType,TElementType>)

Microsoft internal use only.

Applies to