ConvertTabsToSpaces Class

The option definition that determines whether to convert tabs to spaces.

Namespace:  Microsoft.VisualStudio.Text.Editor
Assembly:  Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)

[ExportAttribute(typeof(EditorOptionDefinition))]
[NameAttribute("Tabs/ConvertTabsToSpaces")]
public sealed class ConvertTabsToSpaces : EditorOptionDefinition<bool>

The ConvertTabsToSpaces type exposes the following members.

  NameDescription
Public methodConvertTabsToSpacesInitializes a new instance of ConvertTabsToSpaces.
Top

  NameDescription
Public propertyDefaultGets the default value (true). (Overrides EditorOptionDefinition<T>.Default.)
Public propertyDefaultValueGets the default value of the option. (Inherited from EditorOptionDefinition<T>.)
Public propertyKeyGets the editor option key. (Overrides EditorOptionDefinition<T>.Key.)
Public propertyNameGets the name of the option. (Inherited from EditorOptionDefinition<T>.)
Public propertyValueTypeGets the actual type of the option. (Inherited from EditorOptionDefinition<T>.)
Top

  NameDescription
Public methodEqualsDetermines whether two EditorOptionDefinition objects are the same. (Inherited from EditorOptionDefinition.)
Public methodGetHashCodeGets the hash code of this type. (Inherited from EditorOptionDefinition.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodIsApplicableToScopeDetermines whether this option is applicable for the given scope (for example, a text buffer). (Inherited from EditorOptionDefinition.)
Public methodIsValid(Object)Determines whether the proposed value is valid. (Inherited from EditorOptionDefinition<T>.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft