次の方法で共有


IEditorSettings.LineNumbersEnabled プロパティ

v2 に適用されます。

行番号が有効になっているかどうかを取得または設定します。

名前空間:  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 名前空間