共用方式為


Diagnostic.Source Property

Definition

Gets or sets a human-readable string describing the source of this diagnostic, e.g. 'typescript' or 'super lint'. It usually appears in the user interface.

public:
 property System::String ^ Source { System::String ^ get(); void set(System::String ^ value); };
[System.Runtime.Serialization.DataMember(Name="source")]
public string Source { get; set; }
[System.Runtime.Serialization.DataMember(Name="source")]
[Newtonsoft.Json.JsonProperty(NullValueHandling=Newtonsoft.Json.NullValueHandling.Ignore)]
public string Source { get; set; }
[System.Runtime.Serialization.DataMember(Name="source")]
[Newtonsoft.Json.JsonProperty(NullValueHandling=Newtonsoft.Json.NullValueHandling.Ignore)]
public string? Source { get; set; }
[<System.Runtime.Serialization.DataMember(Name="source")>]
member this.Source : string with get, set
[<System.Runtime.Serialization.DataMember(Name="source")>]
[<Newtonsoft.Json.JsonProperty(NullValueHandling=Newtonsoft.Json.NullValueHandling.Ignore)>]
member this.Source : string with get, set
Public Property Source As String

Property Value

Attributes
DataMemberAttribute Newtonsoft.Json.JsonPropertyAttribute

Applies to