TextViewHostOptionExtensions.IsLineNumberMarginEnabled(IEditorOptions) Methode

Definition

Bestimmt, ob der Rand mit Zeilennummern für den angegebenen Satz von Editoroptionen aktiviert ist.

public:
[System::Runtime::CompilerServices::Extension]
 static bool IsLineNumberMarginEnabled(Microsoft::VisualStudio::Text::Editor::IEditorOptions ^ options);
public:
[System::Runtime::CompilerServices::Extension]
 static bool IsLineNumberMarginEnabled(Microsoft::VisualStudio::Text::Editor::IEditorOptions ^ options);
public static bool IsLineNumberMarginEnabled (this Microsoft.VisualStudio.Text.Editor.IEditorOptions options);
static member IsLineNumberMarginEnabled : Microsoft.VisualStudio.Text.Editor.IEditorOptions -> bool
<Extension()>
Public Function IsLineNumberMarginEnabled (options As IEditorOptions) As Boolean

Parameter

options
IEditorOptions

Der Satz von Editoroptionen.

Gibt zurück

Boolean

true , wenn der Zeilennummern Rand aktiviert ist, andernfalls false.

Gilt für