Diagnostic.Id 屬性

定義

取得診斷識別碼。 針對編譯器所產生的診斷,這會是具有前置詞的數值程式碼,例如 「CS1001」。

public:
 abstract property System::String ^ Id { System::String ^ get(); };
public abstract string Id { get; }
member this.Id : string
Public MustOverride ReadOnly Property Id As String

屬性值

適用於