IIndentationManagerService.UseSpacesForWhitespace(ITextBuffer, Boolean) Methode

Definition

Bestimmt, ob bei der Formatierung Leerzeichen oder Tabstopps verwendet werden sollen buffer .

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

Parameter

buffer
ITextBuffer

Eine Position in der Textzeile, die formatiert wird.

explicitFormat
Boolean

true, wenn das Format auf eine explizite Benutzer Anforderung (z. b. Format Auswahl) zurückzuführen ist. false, wenn das Format ein Nebeneffekt einer Benutzeraktion ist (z. b. Eingabe eines Zeilen Vorteils).

Gibt zurück

Boolean

true, wenn Leerzeichen verwendet werden sollen.

Gilt für