TextViewHostOptionExtensions.IsOutliningMarginEnabled(IEditorOptions) 方法

定义

确定是否已通过指定编辑器选项集启用大纲显示边距。

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

参数

options
IEditorOptions

编辑器选项集。

返回

Boolean

如果已启用大纲显示边距,则为 true ; 否则为false

注解

禁用边距不会关闭大纲 (仅隐藏边距

适用于