共用方式為


LanguagePreferences.IndentSize Property

Definition

Gets or sets the number of spaces to indent when formatting source.

public:
 property int IndentSize { int get(); void set(int value); };
public:
 property int IndentSize { int get(); void set(int value); };
public int IndentSize { get; set; }
member this.IndentSize : int with get, set
Public Property IndentSize As Integer

Property Value

The number of spaces to use for tab positions while formatting.

Remarks

This property is not used in the default managed package framework language service classes.

This property affects the preferences value uIndentSize.

Applies to