Partilhar via


IIndentationManagerService.GetIndentSize(ITextBuffer, Boolean) Method

Definition

Determines the appropriate indentation size for buffer when formatting.

public:
 int GetIndentSize(Microsoft::VisualStudio::Text::ITextBuffer ^ buffer, bool explicitFormat);
public int GetIndentSize (Microsoft.VisualStudio.Text.ITextBuffer buffer, bool explicitFormat);
abstract member GetIndentSize : Microsoft.VisualStudio.Text.ITextBuffer * bool -> int
Public Function GetIndentSize (buffer As ITextBuffer, explicitFormat As Boolean) As Integer

Parameters

buffer
ITextBuffer
explicitFormat
Boolean

Returns

Applies to