Compartir a través de


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.

Return Value

Type: UInt32
The number of results categories retrieved in rgpResultsCategories.

.NET Framework Security

See Also

Reference

IVsGlobalSearchUI Interface

Microsoft.VisualStudio.Shell.Interop Namespace