ISuggestedActionCategoryRegistryService2.OrderCategoriesByPrecedence 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.
Accepts an ISuggestedActionCategorySet of ISuggestedActionCategorys and sorts them in order from highest to lowest precedence.
public:
System::Collections::Generic::IEnumerable<Microsoft::VisualStudio::Language::Intellisense::ISuggestedActionCategory ^> ^ OrderCategoriesByPrecedence(Microsoft::VisualStudio::Language::Intellisense::ISuggestedActionCategorySet ^ categorySet);
public System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.Language.Intellisense.ISuggestedActionCategory> OrderCategoriesByPrecedence (Microsoft.VisualStudio.Language.Intellisense.ISuggestedActionCategorySet categorySet);
abstract member OrderCategoriesByPrecedence : Microsoft.VisualStudio.Language.Intellisense.ISuggestedActionCategorySet -> seq<Microsoft.VisualStudio.Language.Intellisense.ISuggestedActionCategory>
Public Function OrderCategoriesByPrecedence (categorySet As ISuggestedActionCategorySet) As IEnumerable(Of ISuggestedActionCategory)
Parameters
- categorySet
- ISuggestedActionCategorySet
A set of categories to sort.
Returns
An enumerable of sorted categories.
Remarks
Precedence is defined by OrderAttributes present on SuggestedActionCategoryDefinitions.