Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Converts tabs to spaces in the selection, or, if the selection is empty, on the line the caret is on.
Namespace: Microsoft.VisualStudio.Text.Operations
Assembly: Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)
Syntax
'Declaration
Function ConvertTabsToSpaces As Boolean
bool ConvertTabsToSpaces()
bool ConvertTabsToSpaces()
abstract ConvertTabsToSpaces : unit -> bool
function ConvertTabsToSpaces() : boolean
Return Value
Type: Boolean
true if the edit succeeded, otherwise false.
Remarks
A tab is replaced by the number of spaces equal to the distance between one tab and the next.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.