WpfViewOptionExtensions.IsHighlightCurrentLineEnabled(IEditorOptions) 方法

定义

确定是否启用了用于突出显示当前行的选项。

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

参数

返回

Boolean

如果突出显示选项已启用,则为 true ; 否则为false

适用于