LanguagePreferences.TabSize Property

Gets or sets the number of spaces a single tab covers.

Namespace:  Microsoft.VisualStudio.Package
Assemblies:   Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
  Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)

Syntax

'Declaration
Public Property TabSize As Integer
public int TabSize { get; set; }
public:
property int TabSize {
    int get ();
    void set (int value);
}
member TabSize : int with get, set
function get TabSize () : int
function set TabSize (value : int)

Property Value

Type: System.Int32
The number of spaces in a tab character.

Remarks

This property affects the preferences value uTabSize.

.NET Framework Security

See Also

Reference

LanguagePreferences Class

Microsoft.VisualStudio.Package Namespace