IVsGlobalSearchUI.GetResultsCategories Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
.