WindowSearchCustomFilter::ApplyFilter Method (String^, Int32, Int32)

 

Override this method in derived classes to provide specific implementation for the custom filter, by manipulating the search text from the search control and changing the selection as needed.

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

public:
virtual void ApplyFilter(
	String^% pbstrSearchString,
	int% piSelectionStart,
	int% piSelectionEnd
)

Parameters

pbstrSearchString
Type: System::String^

The search string from which to obtain the filter selection.

piSelectionStart
Type: System::Int32

The location within the search string to start the filter selection.

piSelectionEnd
Type: System::Int32

The location within the search string to end the filter selection.

The default implementation in this base class selects the entire search string in the control.

Return to top
Show: