Diagnostic.Severity Property
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the diagnostic severity.
C++
public:
property Microsoft::VisualStudio::LanguageServer::Protocol::DiagnosticSeverity Severity { Microsoft::VisualStudio::LanguageServer::Protocol::DiagnosticSeverity get(); void set(Microsoft::VisualStudio::LanguageServer::Protocol::DiagnosticSeverity value); };
C++
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)
- Attributes
-
Data
Member Newtonsoft.Json.JsonPropertyAttributeAttribute
Product | Versions |
---|---|
Visual Studio SDK | 2017, 2019, 2022 |