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。