共用方式為


SearchControlDataSource.OnAddMRUItem(String) Method

Definition

Provides class handling for adding to the most-recently-used (MRU) item collection on the data source or any element derived from it.

protected:
 virtual void OnAddMRUItem(System::String ^ searchedText);
protected:
 virtual void OnAddMRUItem(Platform::String ^ searchedText);
 virtual void OnAddMRUItem(std::wstring const & searchedText);
protected virtual void OnAddMRUItem (string searchedText);
abstract member OnAddMRUItem : string -> unit
override this.OnAddMRUItem : string -> unit
Protected Overridable Sub OnAddMRUItem (searchedText As String)

Parameters

searchedText
String

The text for which the most recent search was done.

Applies to