共用方式為


TextViewOptionExtensions.IsVirtualSpaceEnabled(IEditorOptions) Method

Definition

Determines whether virtual space is enabled for the specified set of editor options.

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

Parameters

options
IEditorOptions

The set of editor options.

Returns

true if virtual space is enabled, otherwise false.

Applies to