Share via


IVsGlobalSearchUI.GetResultsCategories Method

Definition

Get the results categories for the current search.

public:
 System::UInt32 GetResultsCategories(System::UInt32 dwMaxCategories, cli::array <Microsoft::VisualStudio::Shell::Interop::IVsGlobalSearchUIResultsCategory ^> ^ rgpResultsCategories);
public:
 unsigned int GetResultsCategories(unsigned int dwMaxCategories, Platform::Array <Microsoft::VisualStudio::Shell::Interop::IVsGlobalSearchUIResultsCategory ^> ^ rgpResultsCategories);
unsigned int GetResultsCategories(unsigned int dwMaxCategories, std::Array <Microsoft::VisualStudio::Shell::Interop::IVsGlobalSearchUIResultsCategory const &> const & rgpResultsCategories);
public uint GetResultsCategories (uint dwMaxCategories, Microsoft.VisualStudio.Shell.Interop.IVsGlobalSearchUIResultsCategory[] rgpResultsCategories);
abstract member GetResultsCategories : uint32 * Microsoft.VisualStudio.Shell.Interop.IVsGlobalSearchUIResultsCategory[] -> uint32
Public Function GetResultsCategories (dwMaxCategories As UInteger, rgpResultsCategories As IVsGlobalSearchUIResultsCategory()) As UInteger

Parameters

dwMaxCategories
UInt32

[in] The maximum number of global search results categories to retrieve.

rgpResultsCategories
IVsGlobalSearchUIResultsCategory[]

[out, size_is(dwMaxCategories), length_is(*pdwCategoriesReturned)] The results categories to be retrieved.

Returns

The number of results categories retrieved in rgpResultsCategories.

Applies to