Freigeben über


TextViewHostOptionExtensions.IsLineNumberMarginEnabled(IEditorOptions) Method

Definition

Determines whether the line number margin is enabled with the specified set of editor options.

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

Parameters

options
IEditorOptions

The set of editor options.

Returns

true if the line number margin is enabled, otherwise false.

Applies to