IEditorSettings.LineNumbersEnabled 属性

适用于版本2

获取或设置是否启用行号。

命名空间:  Microsoft.WebMatrix.Extensibility.Editor
程序集:  Microsoft.WebMatrix.Extensibility(在 Microsoft.WebMatrix.Extensibility.dll 中)

语法

声明
Property LineNumbersEnabled As Boolean 
    Get 
    Set
用法
Dim instance As IEditorSettings 
Dim value As Boolean 

value = instance.LineNumbersEnabled

instance.LineNumbersEnabled = value
bool LineNumbersEnabled { get; set; }
property bool LineNumbersEnabled {
    bool get ();
    void set (bool value);
}
abstract LineNumbersEnabled : bool with get, set
function get LineNumbersEnabled () : boolean 
function set LineNumbersEnabled (value : boolean)

属性值

类型:System.Boolean
如果启用行号,则为 true;否则为 false。

请参阅

参考

IEditorSettings 接口

Microsoft.WebMatrix.Extensibility.Editor 命名空间