共用方式為


IVsMRESearchProvider Interface

Definition

Exposes a single Most Recently Executed command search provider.

public interface class IVsMRESearchProvider : Microsoft::VisualStudio::Shell::Interop::IVsSearchProvider
public interface class IVsMRESearchProvider : Microsoft::VisualStudio::Shell::Interop::IVsSearchProvider
__interface IVsMRESearchProvider : Microsoft::VisualStudio::Shell::Interop::IVsSearchProvider
[System.Runtime.InteropServices.Guid("3EF528C5-C45A-47E0-B9EE-A212A32A99EC")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsMRESearchProvider : Microsoft.VisualStudio.Shell.Interop.IVsSearchProvider
[<System.Runtime.InteropServices.Guid("3EF528C5-C45A-47E0-B9EE-A212A32A99EC")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsMRESearchProvider = interface
    interface IVsSearchProvider
Public Interface IVsMRESearchProvider
Implements IVsSearchProvider
Attributes
Implements

Properties

Category
Description
DisplayText
Shortcut
Tooltip

Methods

Close()

Closes the search provider and saves the MRE items.

CreateItemResult(String)
CreateSearch(UInt32, IVsSearchQuery, IVsSearchProviderCallback)
ProvideSearchSettings(IVsUIDataSource)
SetMostRecentlyExecuted(IVsSearchQuery, IVsSearchItemResult, UInt32, IVsSearchItemResult[], UInt32)

Gets a new collection of MRE items for the specified search query.

SetSite(IServiceProvider)

Initializes the search provider.

Applies to