Share via


DefaultOptionExtensions.IsConvertTabsToSpacesEnabled(IEditorOptions) Method

Definition

Determines whether the option to convert tabs to spaces is enabled in the specified IEditorOptions.

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

Parameters

Returns

true if the option is enabled, otherwise false.

Applies to