共用方式為


EditorFormatDefinition.ForegroundColorId 欄位

定義字串,用以查詢 ResourceDictionary 中的前景色彩值。

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

語法

'宣告
Public Const ForegroundColorId As String
public const string ForegroundColorId
public:
literal String^ ForegroundColorId
static val mutable ForegroundColorId: string
public const var ForegroundColorId : String

.NET Framework 安全性

請參閱

參考

EditorFormatDefinition 類別

Microsoft.VisualStudio.Text.Classification 命名空間