次の方法で共有


TextViewHostOptionExtensions.IsSelectionMarginEnabled(IEditorOptions) Method

Definition

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

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

Parameters

options
IEditorOptions

The set of editor options.

Returns

true if the selection margin is enabled, otherwise false.

Applies to