Expand Minimize

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)

bool Indent()

Return Value

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

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft