IVsGlobalSearchUI.GetResultsCategories Method
Get the results categories for the current search.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.11.0 (in Microsoft.VisualStudio.Shell.Interop.11.0.dll)
Syntax
'Declaration
Function GetResultsCategories ( _
dwMaxCategories As UInteger, _
<OutAttribute> rgpResultsCategories As IVsGlobalSearchUIResultsCategory() _
) As UInteger
uint GetResultsCategories(
uint dwMaxCategories,
IVsGlobalSearchUIResultsCategory[] rgpResultsCategories
)
unsigned int GetResultsCategories(
[InAttribute] unsigned int dwMaxCategories,
[OutAttribute] array<IVsGlobalSearchUIResultsCategory^>^ rgpResultsCategories
)
abstract GetResultsCategories :
dwMaxCategories:uint32 *
rgpResultsCategories:IVsGlobalSearchUIResultsCategory[] byref -> uint32
function GetResultsCategories(
dwMaxCategories : uint,
rgpResultsCategories : IVsGlobalSearchUIResultsCategory[]
) : uint
Parameters
dwMaxCategories
Type: UInt32[in] The maximum number of global search results categories to retrieve.
rgpResultsCategories
Type: array<Microsoft.VisualStudio.Shell.Interop.IVsGlobalSearchUIResultsCategory[][out, size_is(dwMaxCategories), length_is(*pdwCategoriesReturned)] The results categories to be retrieved.
Return Value
Type: UInt32
The number of results categories retrieved in rgpResultsCategories.
.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.