Partager via


IEditorOperations.MoveLineUp Method

Moves the caret one line up.

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

Syntax

'Declaration
Sub MoveLineUp ( _
    extendSelection As Boolean _
)
void MoveLineUp(
    bool extendSelection
)
void MoveLineUp(
    bool extendSelection
)
abstract MoveLineUp : 
        extendSelection:bool -> unit
function MoveLineUp(
    extendSelection : boolean
)

Parameters

  • extendSelection
    Type: Boolean

    If true, the selection is extended when the caret is moved; if false, the selection is not extended.

.NET Framework Security

See Also

Reference

IEditorOperations Interface

Microsoft.VisualStudio.Text.Operations Namespace