IEditorOperations.ScrollDownAndMoveCaretIfNecessary Method
Scrolls the view down by one line and repositions the caret to the first fully-visible line in the view, if it is scrolled off the page.
Namespace: Microsoft.VisualStudio.Text.Operations
Assembly: Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)
Syntax
'宣言
Sub ScrollDownAndMoveCaretIfNecessary
void ScrollDownAndMoveCaretIfNecessary()
void ScrollDownAndMoveCaretIfNecessary()
abstract ScrollDownAndMoveCaretIfNecessary : unit -> unit
function ScrollDownAndMoveCaretIfNecessary()
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.