IEditorOperations.MoveToTopOfView Method
Moves the caret to the first fully-visible line of the view.
Namespace: Microsoft.VisualStudio.Text.Operations
Assembly: Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)
Syntax
'Declaración
Sub MoveToTopOfView ( _
extendSelection As Boolean _
)
void MoveToTopOfView(
bool extendSelection
)
void MoveToTopOfView(
bool extendSelection
)
abstract MoveToTopOfView :
extendSelection:bool -> unit
function MoveToTopOfView(
extendSelection : boolean
)
Parameters
- extendSelection
Type: System.Boolean
If true, the selection is extended when the caret is moved; if false, the selection is not extended.
.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.