Partager via


ExportCodeFixProviderAttribute(String, String[]) Constructor

Definition

Attribute constructor used to specify automatic application of a code fix provider.

public:
 ExportCodeFixProviderAttribute(System::String ^ firstLanguage, ... cli::array <System::String ^> ^ additionalLanguages);
public ExportCodeFixProviderAttribute (string firstLanguage, params string[] additionalLanguages);
new Microsoft.CodeAnalysis.CodeFixes.ExportCodeFixProviderAttribute : string * string[] -> Microsoft.CodeAnalysis.CodeFixes.ExportCodeFixProviderAttribute
Public Sub New (firstLanguage As String, ParamArray additionalLanguages As String())

Parameters

firstLanguage
String

One language to which the code fix provider applies.

additionalLanguages
String[]

Additional languages to which the code fix provider applies. See LanguageNames.

Applies to