共用方式為


AnalyzerReference.GetAnalyzers(String) 方法

定義

取得指定 之 這個元件參考 language 中定義的所有診斷分析器。

public:
 abstract System::Collections::Immutable::ImmutableArray<Microsoft::CodeAnalysis::Diagnostics::DiagnosticAnalyzer ^> GetAnalyzers(System::String ^ language);
public abstract System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.Diagnostics.DiagnosticAnalyzer> GetAnalyzers (string language);
abstract member GetAnalyzers : string -> System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.Diagnostics.DiagnosticAnalyzer>
Public MustOverride Function GetAnalyzers (language As String) As ImmutableArray(Of DiagnosticAnalyzer)

參數

language
String

語言名稱。

傳回

適用於