Share via


LanguagePreferences.TabSize Property

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

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

Syntax

'Declaration
Public Property TabSize As Integer
'Usage
Dim instance As LanguagePreferences 
Dim value As Integer 

value = instance.TabSize

instance.TabSize = value
public int TabSize { get; set; }
public:
property int TabSize {
    int get ();
    void set (int value);
}
public function get TabSize () : int 
public 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

LanguagePreferences Members

Microsoft.VisualStudio.Package Namespace