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.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'宣言
Protected Overridable Sub OnAddMRUItem ( _
searchedText As String _
)
protected virtual void OnAddMRUItem(
string searchedText
)
Parameters
- searchedText
Type: System.String
The 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.