共用方式為


IEditorOperations.DecreaseLineIndent Method

If there is a multi-line selection, removes indentation from every line in the selection, otherwise removes indentation from the line the caret is on.

Namespace:  Microsoft.VisualStudio.Text.Operations
Assembly:  Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)

Syntax

'宣告
Function DecreaseLineIndent As Boolean
bool DecreaseLineIndent()
bool DecreaseLineIndent()
abstract DecreaseLineIndent : unit -> bool 
function DecreaseLineIndent() : boolean

Return Value

Type: System.Boolean
true if the edit succeeded, otherwise false.

.NET Framework Security

See Also

Reference

IEditorOperations Interface

Microsoft.VisualStudio.Text.Operations Namespace