IEditorOperations.Tabify Method
Converts the leading white space to tabs on all lines touched by the selection and caret.
Namespace: Microsoft.VisualStudio.Text.Operations
Assembly: Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)
Syntax
'宣告
Function Tabify As Boolean
bool Tabify()
bool Tabify()
abstract Tabify : unit -> bool
function Tabify() : boolean
Return Value
Type: System.Boolean
true if the edit succeeded, otherwise false.
Remarks
If the column position of the first non-whitespace character is not evenly divisible by the tab size, there will be spaces left at the end of the line equal to the remainder of that division.
.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.