共用方式為


TextViewHostOptionExtensions.IsGlyphMarginEnabled(IEditorOptions) Method

Definition

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

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

Parameters

options
IEditorOptions

The set of editor options.

Returns

true if the glyph margin is enabled, otherwise false.

Applies to