共用方式為


LanguagePreferences.InsertTabs Property

Definition

Gets or sets whether or not to insert tabs instead of spaces when formatting sections of text.

public:
 property bool InsertTabs { bool get(); void set(bool value); };
public:
 property bool InsertTabs { bool get(); void set(bool value); };
public bool InsertTabs { get; set; }
member this.InsertTabs : bool with get, set
Public Property InsertTabs As Boolean

Property Value

true if tabs should be inserted, otherwise false = spaces should be inserted.

Remarks

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

Use this property in your implementation of the ReformatSpan method in the Source class.

This property affects the preferences value fInsertTabs.

Applies to