Partager via


Diagnostic.Severity Property

Definition

Gets or sets the diagnostic severity.

public:
 property Microsoft::VisualStudio::LanguageServer::Protocol::DiagnosticSeverity Severity { Microsoft::VisualStudio::LanguageServer::Protocol::DiagnosticSeverity get(); void set(Microsoft::VisualStudio::LanguageServer::Protocol::DiagnosticSeverity value); };
public:
 property Nullable<Microsoft::VisualStudio::LanguageServer::Protocol::DiagnosticSeverity> Severity { Nullable<Microsoft::VisualStudio::LanguageServer::Protocol::DiagnosticSeverity> get(); void set(Nullable<Microsoft::VisualStudio::LanguageServer::Protocol::DiagnosticSeverity> value); };
[System.Runtime.Serialization.DataMember(Name="severity")]
public Microsoft.VisualStudio.LanguageServer.Protocol.DiagnosticSeverity Severity { get; set; }
[System.Runtime.Serialization.DataMember(Name="severity")]
[Newtonsoft.Json.JsonProperty(NullValueHandling=Newtonsoft.Json.NullValueHandling.Ignore)]
public Microsoft.VisualStudio.LanguageServer.Protocol.DiagnosticSeverity? Severity { get; set; }
[<System.Runtime.Serialization.DataMember(Name="severity")>]
member this.Severity : Microsoft.VisualStudio.LanguageServer.Protocol.DiagnosticSeverity with get, set
[<System.Runtime.Serialization.DataMember(Name="severity")>]
[<Newtonsoft.Json.JsonProperty(NullValueHandling=Newtonsoft.Json.NullValueHandling.Ignore)>]
member this.Severity : Nullable<Microsoft.VisualStudio.LanguageServer.Protocol.DiagnosticSeverity> with get, set
Public Property Severity As DiagnosticSeverity
Public Property Severity As Nullable(Of DiagnosticSeverity)

Property Value

Attributes
DataMemberAttribute Newtonsoft.Json.JsonPropertyAttribute

Applies to