IEditorOperations.Unindent Method
Unindents the text.
Namespace: Microsoft.VisualStudio.Text.Operations
Assembly: Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)
Syntax
声明
Function Unindent As Boolean
bool Unindent()
bool Unindent()
abstract Unindent : unit -> bool
function Unindent() : boolean
Return Value
Type: System.Boolean
true if the edit succeeded, otherwise false.
Remarks
If there is a multi-line selection, unindents the selection. If there is a single line selection, removes up to a tab's worth of white space before the start of the selection. If there is no selection, removes up to a tab's worth of white space before the caret position.
.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.