Dela via


IVsMRESearchProvider Interface

Exposes a single Most Recently Executed command search provider.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.11.0 (in Microsoft.VisualStudio.Shell.Interop.11.0.dll)

Syntax

'Declaration
<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)> _
<GuidAttribute("3EF528C5-C45A-47E0-B9EE-A212A32A99EC")> _
Public Interface IVsMRESearchProvider _
    Inherits IVsSearchProvider
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
[GuidAttribute("3EF528C5-C45A-47E0-B9EE-A212A32A99EC")]
public interface IVsMRESearchProvider : IVsSearchProvider
[InterfaceTypeAttribute(ComInterfaceType::InterfaceIsIUnknown)]
[GuidAttribute(L"3EF528C5-C45A-47E0-B9EE-A212A32A99EC")]
public interface class IVsMRESearchProvider : IVsSearchProvider
[<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)>]
[<GuidAttribute("3EF528C5-C45A-47E0-B9EE-A212A32A99EC")>]
type IVsMRESearchProvider =  
    interface 
        interface IVsSearchProvider 
    end
public interface IVsMRESearchProvider extends IVsSearchProvider

The IVsMRESearchProvider type exposes the following members.

Properties

  Name Description
Public property Category
Public property Description
Public property DisplayText
Public property Shortcut
Public property Tooltip

Top

Methods

  Name Description
Public method Close Closes the search provider and saves the MRE items.
Public method CreateItemResult
Public method CreateSearch
Public method ProvideSearchSettings
Public method SetMostRecentlyExecuted Gets a new collection of MRE items for the specified search query.
Public method SetSite Initializes the search provider.

Top

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace