SourceState 列舉
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
指定原始程式碼文字的狀態。 這個類別與其他類別一起使用,這些類別會提供資訊以便在編輯器中以色彩標示 JScript 程式碼。
此 API 支援此產品基礎結構,但無法直接用於程式碼之中。
public enum class SourceState
C#
[System.Runtime.InteropServices.ComVisible(true)]
public enum SourceState
C#
[System.Runtime.InteropServices.ComVisible(true)]
[System.Runtime.InteropServices.Guid("BA731F6A-3D25-39AE-BE18-C2EF646AE58B")]
public enum SourceState
[<System.Runtime.InteropServices.ComVisible(true)>]
type SourceState =
[<System.Runtime.InteropServices.ComVisible(true)>]
[<System.Runtime.InteropServices.Guid("BA731F6A-3D25-39AE-BE18-C2EF646AE58B")>]
type SourceState =
Public Enum SourceState
- 繼承
- 屬性
名稱 | 值 | Description |
---|---|---|
STATE_COLOR_COMMENT | 1 | 註解文字。 |
STATE_COLOR_NORMAL | 0 | 一般文字。 |
STATE_COLOR_STRING | 2 | 字串常值文字。 |
產品 | 版本 |
---|---|
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |