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
pSearchQuery
Type: Microsoft.VisualStudio.Shell.Interop.IVsSearchQuery[in] The search query from which to retrieve the MRE items.
pResult
Type: Microsoft.VisualStudio.Shell.Interop.IVsSearchItemResult[in] The result of the search query.
dwMaxResults
Type: UInt32[in] The maximum number of MRE items to retrieve.
pSearchItemResults
Type: array<Microsoft.VisualStudio.Shell.Interop.IVsSearchItemResult[][in, out, size_is(dwMaxResults), length_is(*pdwActualResults)] The collection of MRE items.
pdwActualResults
Type: UInt32%[in, out] The actual number of MRE items.
.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.