DefaultOptionExtensions.IsConvertTabsToSpacesEnabled(IEditorOptions) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- options
- IEditorOptions
The IEditorOptions.
Returns
true
if the option is enabled, otherwise false
.