WindowSearchBooleanOption Constructor (String^, String^, Func<Boolean>^, Action<Boolean>^)

 

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

Namespace:   Microsoft.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)

public:
WindowSearchBooleanOption(
	String^ displayText,
	String^ tooltip,
	Func<bool>^ getter,
	Action<bool>^ setter
)

Parameters

displayText
Type: System::String^

The display text for the search option.

tooltip
Type: System::String^

The tooltip text for the search option.

getter
Type: System::Func<Boolean>^

The function which performs the option action and gets the option value. Must return a Boolean value.

setter
Type: System::Action<Boolean>^

The function which performs the option action.

Return to top
Show: