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: StringThe text for which the most recent search was done.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.