SearchControlDataSource.OnAddMRUItem Method

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

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

Syntax

'Declaration
Protected Overridable Sub OnAddMRUItem ( _
    searchedText As String _
)
protected virtual void OnAddMRUItem(
    string searchedText
)
protected:
virtual void OnAddMRUItem(
    String^ searchedText
)
abstract OnAddMRUItem : 
        searchedText:string -> unit  
override OnAddMRUItem : 
        searchedText:string -> unit
protected function OnAddMRUItem(
    searchedText : String
)

Parameters

  • searchedText
    Type: String

    The text for which the most recent search was done.

.NET Framework Security

See Also

Reference

SearchControlDataSource Class

Microsoft.VisualStudio.PlatformUI Namespace