共用方式為


LineNumberMarginEnabled.Key 屬性

取得預設文字檢視主機值。

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

語法

'宣告
Public Overrides ReadOnly Property Key As EditorOptionKey(Of Boolean)
public override EditorOptionKey<bool> Key { get; }
public:
virtual property EditorOptionKey<bool> Key {
    EditorOptionKey<bool> get () override;
}
abstract Key : EditorOptionKey<bool> with get 
override Key : EditorOptionKey<bool> with get
override function get Key () : EditorOptionKey<boolean>

屬性值

類型:Microsoft.VisualStudio.Text.Editor.EditorOptionKey<Boolean>
預設文字檢視主應用程式值。

.NET Framework 安全性

請參閱

參考

LineNumberMarginEnabled 類別

Microsoft.VisualStudio.Text.Editor 命名空間