共用方式為


Diagnostic.Code Property

Definition

Gets the diagnostic code for the diagnostic.

public:
 property System::String ^ Code { System::String ^ get(); };
[System.Runtime.Serialization.DataMember(Order=1)]
public string? Code { get; }
[<System.Runtime.Serialization.DataMember(Order=1)>]
member this.Code : string
Public ReadOnly Property Code As String

Property Value

Attributes

Applies to