Freigeben über


WindowSearchCustomFilter.ApplyFilter(String, Int32, Int32) Method

Definition

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.

public:
 virtual void ApplyFilter(System::String ^ % pbstrSearchString, int % piSelectionStart, int % piSelectionEnd);
 virtual void ApplyFilter(std::wstring const & & pbstrSearchString, int & piSelectionStart, int & piSelectionEnd);
public virtual void ApplyFilter (ref string pbstrSearchString, ref int piSelectionStart, ref int piSelectionEnd);
abstract member ApplyFilter : string * int * int -> unit
override this.ApplyFilter : string * int * int -> unit
Public Overridable Sub ApplyFilter (ByRef pbstrSearchString As String, ByRef piSelectionStart As Integer, ByRef piSelectionEnd As Integer)

Parameters

pbstrSearchString
String

The search string from which to obtain the filter selection.

piSelectionStart
Int32

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

piSelectionEnd
Int32

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

Implements

Remarks

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

Applies to