Partager via


ISuggestedActionCategoryRegistryService.GetCategory(String) Method

Definition

Gets the ISuggestedActionCategory object with the specified categoryName.

public:
 Microsoft::VisualStudio::Language::Intellisense::ISuggestedActionCategory ^ GetCategory(System::String ^ categoryName);
public:
 Microsoft::VisualStudio::Language::Intellisense::ISuggestedActionCategory ^ GetCategory(Platform::String ^ categoryName);
Microsoft::VisualStudio::Language::Intellisense::ISuggestedActionCategory GetCategory(std::wstring const & categoryName);
public Microsoft.VisualStudio.Language.Intellisense.ISuggestedActionCategory GetCategory (string categoryName);
abstract member GetCategory : string -> Microsoft.VisualStudio.Language.Intellisense.ISuggestedActionCategory
Public Function GetCategory (categoryName As String) As ISuggestedActionCategory

Parameters

categoryName
String

The name of the category. Name comparisons are case-insensitive.

Returns

The category, or null if no category is found.

Applies to