共用方式為


ISuggestedActionCategoryRegistryService.CreateSuggestedActionCategorySet Method

Definition

Overloads

CreateSuggestedActionCategorySet(IEnumerable<String>)

Creates a new ISuggestedActionCategorySet containing given categories.

CreateSuggestedActionCategorySet(String[])

Creates a new ISuggestedActionCategorySet containing given categories.

CreateSuggestedActionCategorySet(IEnumerable<String>)

Creates a new ISuggestedActionCategorySet containing given categories.

public:
 Microsoft::VisualStudio::Language::Intellisense::ISuggestedActionCategorySet ^ CreateSuggestedActionCategorySet(System::Collections::Generic::IEnumerable<System::String ^> ^ categories);
public Microsoft.VisualStudio.Language.Intellisense.ISuggestedActionCategorySet CreateSuggestedActionCategorySet (System.Collections.Generic.IEnumerable<string> categories);
abstract member CreateSuggestedActionCategorySet : seq<string> -> Microsoft.VisualStudio.Language.Intellisense.ISuggestedActionCategorySet
Public Function CreateSuggestedActionCategorySet (categories As IEnumerable(Of String)) As ISuggestedActionCategorySet

Parameters

categories
IEnumerable<String>

A list of categories to be included into the set.

Returns

An instance of ISuggestedActionCategorySet containing given categories.

Applies to

CreateSuggestedActionCategorySet(String[])

Creates a new ISuggestedActionCategorySet containing given categories.

public:
 Microsoft::VisualStudio::Language::Intellisense::ISuggestedActionCategorySet ^ CreateSuggestedActionCategorySet(... cli::array <System::String ^> ^ categories);
public Microsoft.VisualStudio.Language.Intellisense.ISuggestedActionCategorySet CreateSuggestedActionCategorySet (params string[] categories);
abstract member CreateSuggestedActionCategorySet : string[] -> Microsoft.VisualStudio.Language.Intellisense.ISuggestedActionCategorySet
Public Function CreateSuggestedActionCategorySet (ParamArray categories As String()) As ISuggestedActionCategorySet

Parameters

categories
String[]

A list of categories to be included into the set.

Returns

An instance of ISuggestedActionCategorySet containing given categories.

Applies to