次の方法で共有


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

See Also

Reference

SearchControlDataSource Class

Microsoft.VisualStudio.PlatformUI Namespace