共用方式為


TextViewOptionExtensions.IsVisibleWhitespaceEnabled(IEditorOptions) Method

Definition

Determines whether visible whitespace is enabled with the specified set of editor options.

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

Parameters

options
IEditorOptions

The set of editor options.

Returns

true if visible whitespace is enabled, otherwise false.

Applies to