Partilhar via


IEditorOperations.Indent Method

If there is a multi-line selection indents the selection, otherwise inserts a tab at the caret location.

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

Syntax

'Declaração
Function Indent As Boolean
bool Indent()
bool Indent()
abstract Indent : unit -> bool 
function Indent() : 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