다음을 통해 공유


IEditorOperations.ScrollUpAndMoveCaretIfNecessary Method

Scrolls the view up by one line and repositions the caret, if it is scrolled off the page, to the last fully-visible line in the view.

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

Syntax

'Declaration
Sub ScrollUpAndMoveCaretIfNecessary
void ScrollUpAndMoveCaretIfNecessary()
void ScrollUpAndMoveCaretIfNecessary()
abstract ScrollUpAndMoveCaretIfNecessary : unit -> unit
function ScrollUpAndMoveCaretIfNecessary()

.NET Framework Security

See Also

Reference

IEditorOperations Interface

Microsoft.VisualStudio.Text.Operations Namespace