共用方式為


CompilationOptions.WithReportSuppressedDiagnostics(Boolean) 方法

定義

使用指定的隱藏診斷報告選項,建立新的選項實例。

public:
 Microsoft::CodeAnalysis::CompilationOptions ^ WithReportSuppressedDiagnostics(bool value);
public Microsoft.CodeAnalysis.CompilationOptions WithReportSuppressedDiagnostics (bool value);
member this.WithReportSuppressedDiagnostics : bool -> Microsoft.CodeAnalysis.CompilationOptions
Public Function WithReportSuppressedDiagnostics (value As Boolean) As CompilationOptions

參數

value
Boolean

傳回

適用於