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
'Dichiarazione
Public Property TabSize As Integer
Get
Set
'Utilizzo
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);
}
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.