共用方式為


DiagnosticDescriptor.DefaultSeverity 屬性

定義

診斷的預設嚴重性。

public:
 property Microsoft::CodeAnalysis::DiagnosticSeverity DefaultSeverity { Microsoft::CodeAnalysis::DiagnosticSeverity get(); };
public Microsoft.CodeAnalysis.DiagnosticSeverity DefaultSeverity { get; }
member this.DefaultSeverity : Microsoft.CodeAnalysis.DiagnosticSeverity
Public ReadOnly Property DefaultSeverity As DiagnosticSeverity

屬性值

適用於