共用方式為


IEditorOperations.IncreaseLineIndent Method

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

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

Syntax

'宣告
Function IncreaseLineIndent As Boolean
bool IncreaseLineIndent()
bool IncreaseLineIndent()
abstract IncreaseLineIndent : unit -> bool 
function IncreaseLineIndent() : 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