共用方式為


PredefinedErrorTypeNames 類別

代表預先定義的錯誤類型。

繼承階層架構

Object
  Microsoft.VisualStudio.Text.Adornments.PredefinedErrorTypeNames

命名空間:  Microsoft.VisualStudio.Text.Adornments
組件:  Microsoft.VisualStudio.Text.UI (在 Microsoft.VisualStudio.Text.UI.dll 中)

語法

'宣告
Public NotInheritable Class PredefinedErrorTypeNames
public static class PredefinedErrorTypeNames
public ref class PredefinedErrorTypeNames abstract sealed
[<AbstractClass>]
[<Sealed>]
type PredefinedErrorTypeNames =  class end
public final class PredefinedErrorTypeNames

PredefinedErrorTypeNames 類型會公開下列成員。

欄位

  名稱 描述
公用欄位靜態成員 CompilerError 代表編譯器錯誤。
公用欄位靜態成員 OtherError 代表其他錯誤。
公用欄位靜態成員 SyntaxError 表示語法錯誤。
公用欄位靜態成員 Warning 代表編譯器警告。

回頁首

執行緒安全

這個類型的任何 Public static (在 Visual Basic 中為 Shared) 成員都是安全執行緒。不保證任何執行個體成員是安全執行緒。

請參閱

參考

Microsoft.VisualStudio.Text.Adornments 命名空間