IVsMRESearchProvider.SetMostRecentlyExecuted Method

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

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

Syntax

'Declaration
Sub SetMostRecentlyExecuted ( _
    pSearchQuery As IVsSearchQuery, _
    pResult As IVsSearchItemResult, _
    dwMaxResults As UInteger, _
    <OutAttribute> pSearchItemResults As IVsSearchItemResult(), _
    <OutAttribute> ByRef pdwActualResults As UInteger _
)
void SetMostRecentlyExecuted(
    IVsSearchQuery pSearchQuery,
    IVsSearchItemResult pResult,
    uint dwMaxResults,
    IVsSearchItemResult[] pSearchItemResults,
    out uint pdwActualResults
)
void SetMostRecentlyExecuted(
    [InAttribute] IVsSearchQuery^ pSearchQuery, 
    [InAttribute] IVsSearchItemResult^ pResult, 
    [InAttribute] unsigned int dwMaxResults, 
    [OutAttribute] array<IVsSearchItemResult^>^ pSearchItemResults, 
    [InAttribute] [OutAttribute] unsigned int% pdwActualResults
)
abstract SetMostRecentlyExecuted : 
        pSearchQuery:IVsSearchQuery * 
        pResult:IVsSearchItemResult * 
        dwMaxResults:uint32 * 
        pSearchItemResults:IVsSearchItemResult[] byref * 
        pdwActualResults:uint32 byref -> unit
function SetMostRecentlyExecuted(
    pSearchQuery : IVsSearchQuery, 
    pResult : IVsSearchItemResult, 
    dwMaxResults : uint, 
    pSearchItemResults : IVsSearchItemResult[], 
    pdwActualResults : uint
)

Parameters

  • dwMaxResults
    Type: UInt32

    [in] The maximum number of MRE items to retrieve.

  • pdwActualResults
    Type: UInt32%

    [in, out] The actual number of MRE items.

.NET Framework Security

See Also

Reference

IVsMRESearchProvider Interface

Microsoft.VisualStudio.Shell.Interop Namespace