LanguagePreferences.IndentStyle Property

Definition

Gets or sets the style used for formatting sections of text.

public:
 property Microsoft::VisualStudio::Package::IndentingStyle IndentStyle { Microsoft::VisualStudio::Package::IndentingStyle get(); void set(Microsoft::VisualStudio::Package::IndentingStyle value); };
public:
 property Microsoft::VisualStudio::Package::IndentingStyle IndentStyle { Microsoft::VisualStudio::Package::IndentingStyle get(); void set(Microsoft::VisualStudio::Package::IndentingStyle value); };
public Microsoft.VisualStudio.Package.IndentingStyle IndentStyle { get; set; }
member this.IndentStyle : Microsoft.VisualStudio.Package.IndentingStyle with get, set
Public Property IndentStyle As IndentingStyle

Property Value

A value from the IndentingStyle enumeration.

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 IndentStyle.

Applies to